aboutsummaryrefslogtreecommitdiffstats
path: root/src/xrdb.c
diff options
context:
space:
mode:
authorStefan Monnier2011-03-21 12:42:16 -0400
committerStefan Monnier2011-03-21 12:42:16 -0400
commitcafdcef32d55cbb44389d7e322e7f973cbb72dfd (patch)
tree7ee0c41ea8a589650ce6f4311fb10e61a63807b9 /src/xrdb.c
parenta08a25d7aaf251aa18f2ef747be53734bc55cae9 (diff)
parent4e05e67e4cd0bc1b0a4ef3176a4d0d91c6b3738e (diff)
downloademacs-cafdcef32d55cbb44389d7e322e7f973cbb72dfd.tar.gz
emacs-cafdcef32d55cbb44389d7e322e7f973cbb72dfd.zip
Merge from trunk
Diffstat (limited to 'src/xrdb.c')
-rw-r--r--src/xrdb.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/xrdb.c b/src/xrdb.c
index 9fb3f3474fb..a79f453e5e1 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -28,6 +28,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28#include <stdio.h> 28#include <stdio.h>
29#include <setjmp.h> 29#include <setjmp.h>
30 30
31#include "lisp.h"
32
33/* This may include sys/types.h, and that somehow loses
34 if this is not done before the other system files. */
35#include "xterm.h"
36
31#include <X11/Xlib.h> 37#include <X11/Xlib.h>
32#include <X11/Xatom.h> 38#include <X11/Xatom.h>
33#include <X11/X.h> 39#include <X11/X.h>
@@ -38,8 +44,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
38#endif 44#endif
39#include <sys/stat.h> 45#include <sys/stat.h>
40 46
41#include "lisp.h"
42
43#ifdef USE_MOTIF 47#ifdef USE_MOTIF
44/* For Vdouble_click_time. */ 48/* For Vdouble_click_time. */
45#include "keyboard.h" 49#include "keyboard.h"
@@ -50,8 +54,6 @@ extern char *getenv (const char *);
50extern struct passwd *getpwuid (uid_t); 54extern struct passwd *getpwuid (uid_t);
51extern struct passwd *getpwnam (const char *); 55extern struct passwd *getpwnam (const char *);
52 56
53extern const char *get_system_name (void);
54
55char *x_get_string_resource (XrmDatabase rdb, const char *name, 57char *x_get_string_resource (XrmDatabase rdb, const char *name,
56 const char *class); 58 const char *class);
57static int file_p (const char *filename); 59static int file_p (const char *filename);