diff options
author | Michael Haubenwallner <michael.haubenwallner@salomon.at> | 2014-06-13 16:18:34 +0200 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-06-14 08:24:37 -0700 |
commit | 125135452a554e89e49448e2c1ee6658324e1095 (patch) | |
tree | 3c392ddab770ecf2aac73b591f7cb565c1ffb20e /src | |
parent | bc5a1047548b578624cfbc44ca192cde7664ed78 (diff) |
bug#79986: include system headers early
AIX <sys/poll.h> does redefine 'events' to 'reqevents' eventually.
To not have this cause compilation errors, need to include the local
header files after any system header file.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/xcb_in.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xcb_in.c b/src/xcb_in.c index 14b67ae..ad870c1 100644 --- a/src/xcb_in.c +++ b/src/xcb_in.c @@ -36,9 +36,6 @@ #include <stdio.h> #include <errno.h> -#include "xcb.h" -#include "xcbext.h" -#include "xcbint.h" #if USE_POLL #include <poll.h> #endif @@ -51,6 +48,10 @@ #include "xcb_windefs.h" #endif /* _WIN32 */ +#include "xcb.h" +#include "xcbext.h" +#include "xcbint.h" + #define XCB_ERROR 0 #define XCB_REPLY 1 #define XCB_XGE_EVENT 35 |