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_list.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/xcb_list.c') diff --git a/src/xcb_list.c b/src/xcb_list.c index 3a18d90..6f5c611 100644 --- a/src/xcb_list.c +++ b/src/xcb_list.c @@ -25,6 +25,10 @@ /* A generic implementation of a list of void-pointers. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "xcb.h" -- cgit v1.2.3