aboutsummaryrefslogtreecommitdiffstats
path: root/src/xwidget.c
diff options
context:
space:
mode:
authorPaul Eggert2016-07-13 10:15:42 +0200
committerPaul Eggert2016-07-13 10:17:35 +0200
commita36ed9b5e95afea5716256bac24d883263aefbaf (patch)
tree4196b79b3c72565fbb2d37d2fcf62db7a4b7ab26 /src/xwidget.c
parent66da81e577a7177c0595dbbc6b2e974740a19a42 (diff)
downloademacs-a36ed9b5e95afea5716256bac24d883263aefbaf.tar.gz
emacs-a36ed9b5e95afea5716256bac24d883263aefbaf.zip
Omit unnecessary #includes from xwidget.c
* src/xwidget.c: Remove #include directives that are not needed. Also, don’t conditionalize #includes on HAVE_X_WINDOWS, since this file is compiled only if the X interface is available.
Diffstat (limited to 'src/xwidget.c')
-rw-r--r--src/xwidget.c74
1 files changed, 0 insertions, 74 deletions
diff --git a/src/xwidget.c b/src/xwidget.c
index 9c505106144..f5f4da0d369 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -21,87 +21,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21 21
22#include "xwidget.h" 22#include "xwidget.h"
23 23
24#include <signal.h>
25
26#include <stdio.h>
27#include <setjmp.h>
28#ifdef HAVE_X_WINDOWS
29
30#include "lisp.h" 24#include "lisp.h"
31#include "blockinput.h" 25#include "blockinput.h"
32#include "syssignal.h"
33
34#include "xterm.h"
35#include <X11/cursorfont.h>
36
37#ifndef makedev
38# include <sys/types.h>
39#endif
40
41#ifdef BSD_SYSTEM
42# include <sys/ioctl.h>
43#endif
44
45#include "systime.h"
46
47#ifndef INCLUDED_FCNTL
48# include <fcntl.h>
49#endif
50#include <ctype.h>
51#include <errno.h>
52#include <setjmp.h>
53#include <sys/stat.h>
54
55#include "charset.h"
56#include "character.h"
57#include "coding.h"
58#include "ccl.h"
59#include "frame.h" 26#include "frame.h"
60#include "dispextern.h"
61#include "fontset.h"
62#include "termhooks.h"
63#include "termopts.h"
64#include "termchar.h"
65#include "disptab.h"
66#include "buffer.h"
67#include "window.h"
68#include "keyboard.h" 27#include "keyboard.h"
69#include "intervals.h"
70#include "process.h"
71#include "atimer.h"
72#include "keymap.h"
73
74
75#ifdef USE_X_TOOLKIT
76#include <X11/Shell.h>
77#endif
78#include <X11/extensions/Xcomposite.h>
79#include <X11/extensions/Xrender.h>
80#include <cairo.h>
81#ifdef HAVE_SYS_TIME_H
82#include <sys/time.h>
83#endif
84#ifdef HAVE_UNISTD_H
85#include <unistd.h>
86#endif
87
88#include "gtkutil.h" 28#include "gtkutil.h"
89#include "font.h"
90#endif /* HAVE_X_WINDOWS */
91
92#include <gtk/gtk.h>
93#include <gdk/gdk.h>
94
95#include <gtk/gtkx.h>
96
97#include "emacsgtkfixed.h"
98
99#include <wchar.h>
100 29
101#include <webkit/webkitwebview.h> 30#include <webkit/webkitwebview.h>
102#include <webkit/webkitwebplugindatabase.h>
103#include <webkit/webkitwebplugin.h>
104#include <webkit/webkitglobals.h>
105#include <webkit/webkitwebnavigationaction.h> 31#include <webkit/webkitwebnavigationaction.h>
106#include <webkit/webkitdownload.h> 32#include <webkit/webkitdownload.h>
107#include <webkit/webkitwebpolicydecision.h> 33#include <webkit/webkitwebpolicydecision.h>