From a36ed9b5e95afea5716256bac24d883263aefbaf Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 13 Jul 2016 10:15:42 +0200 Subject: [PATCH] Omit unnecessary #includes from xwidget.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 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. --- src/xwidget.c | 74 --------------------------------------------------- 1 file changed, 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 . */ #include "xwidget.h" -#include - -#include -#include -#ifdef HAVE_X_WINDOWS - #include "lisp.h" #include "blockinput.h" -#include "syssignal.h" - -#include "xterm.h" -#include - -#ifndef makedev -# include -#endif - -#ifdef BSD_SYSTEM -# include -#endif - -#include "systime.h" - -#ifndef INCLUDED_FCNTL -# include -#endif -#include -#include -#include -#include - -#include "charset.h" -#include "character.h" -#include "coding.h" -#include "ccl.h" #include "frame.h" -#include "dispextern.h" -#include "fontset.h" -#include "termhooks.h" -#include "termopts.h" -#include "termchar.h" -#include "disptab.h" -#include "buffer.h" -#include "window.h" #include "keyboard.h" -#include "intervals.h" -#include "process.h" -#include "atimer.h" -#include "keymap.h" - - -#ifdef USE_X_TOOLKIT -#include -#endif -#include -#include -#include -#ifdef HAVE_SYS_TIME_H -#include -#endif -#ifdef HAVE_UNISTD_H -#include -#endif - #include "gtkutil.h" -#include "font.h" -#endif /* HAVE_X_WINDOWS */ - -#include -#include - -#include - -#include "emacsgtkfixed.h" - -#include #include -#include -#include -#include #include #include #include -- 2.39.5