]> git.eshelyaron.com Git - emacs.git/commitdiff
* xrdb.c: Include "xterm.h", to check x_load_resources's interface.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Mar 2011 01:40:21 +0000 (17:40 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Mar 2011 01:40:21 +0000 (17:40 -0800)
src/ChangeLog
src/xrdb.c

index 40c502a7970738b07d84a87469889913513118e1..e3eb8fe02a024e667aca9f43fb01dddcd21f4544 100644 (file)
@@ -1,5 +1,7 @@
 2011-03-10  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * xrdb.c: Include "xterm.h", to check x_load_resources's interface.
+
        * xselect.c (x_disown_buffer_selections): Remove; not used.
        (TRACE3) [!defined TRACE_SELECTION]: Remove; not used.
        (x_own_selection, Fx_disown_selection_internal): Rename locals
index 9fb3f3474fb0ba446863583580f5aa2ce7e9a878..63e5851979c7df79ade72bf3c0f7f66492677991 100644 (file)
@@ -28,6 +28,12 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #include <stdio.h>
 #include <setjmp.h>
 
+#include "lisp.h"
+
+/* This may include sys/types.h, and that somehow loses
+   if this is not done before the other system files.  */
+#include "xterm.h"
+
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
 #include <X11/X.h>
@@ -38,8 +44,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #endif
 #include <sys/stat.h>
 
-#include "lisp.h"
-
 #ifdef USE_MOTIF
 /* For Vdouble_click_time.  */
 #include "keyboard.h"