diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-08-24 23:32:32 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-08-25 12:34:24 -0700 |
commit | b52790e8ed4bb077eabdeca803935d2910558acc (patch) | |
tree | 9abb4658bc8ba9e121f24d10d029f2fac89c4348 /src/xcb_in.c | |
parent | ed93a6a2a8e23f12380709de6e04b2d833df7e71 (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.c | 4 |
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> |