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_conn.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_conn.c')
-rw-r--r-- | src/xcb_conn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xcb_conn.c b/src/xcb_conn.c index 725502a..7202cc5 100644 --- a/src/xcb_conn.c +++ b/src/xcb_conn.c @@ -25,6 +25,10 @@ /* Connection management: the core of XCB. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <assert.h> #include <string.h> #include <stdio.h> |