From b52790e8ed4bb077eabdeca803935d2910558acc Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 24 Aug 2012 23:32:32 -0700 Subject: 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 --- src/xcb_in.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/xcb_in.c') 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 #include #include -- cgit v1.2.3