summaryrefslogtreecommitdiff
path: root/src/xcb_in.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-08-24 23:32:32 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-08-25 12:34:24 -0700
commitb52790e8ed4bb077eabdeca803935d2910558acc (patch)
tree9abb4658bc8ba9e121f24d10d029f2fac89c4348 /src/xcb_in.c
parented93a6a2a8e23f12380709de6e04b2d833df7e71 (diff)
Always include "config.h" at the start of all C source files.
Allows configure to set defines such as _POSIX_SOURCE in config.h that affect functions exposed by system headers and get consistent results across all the source files. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/xcb_in.c')
-rw-r--r--src/xcb_in.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xcb_in.c b/src/xcb_in.c
index 4998cdd..b810783 100644
--- a/src/xcb_in.c
+++ b/src/xcb_in.c
@@ -25,6 +25,10 @@
/* Stuff that reads stuff from the server. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <string.h>
#include <stdlib.h>