From b47160217819ef2408f1115d7f812c16d06dcbcb Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 9 Mar 2011 17:40:21 -0800 Subject: [PATCH] * xrdb.c: Include "xterm.h", to check x_load_resources's interface. --- src/ChangeLog | 2 ++ src/xrdb.c | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 40c502a7970..e3eb8fe02a0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-03-10 Paul Eggert + * 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 diff --git a/src/xrdb.c b/src/xrdb.c index 9fb3f3474fb..63e5851979c 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -28,6 +28,12 @@ along with GNU Emacs. If not, see . */ #include #include +#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 #include #include @@ -38,8 +44,6 @@ along with GNU Emacs. If not, see . */ #endif #include -#include "lisp.h" - #ifdef USE_MOTIF /* For Vdouble_click_time. */ #include "keyboard.h" -- 2.39.5