From 42f99a7a7b836f6f9704a7b1747eb722c93446ec Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 23 Apr 2012 07:28:39 -0700 Subject: include config.h before stdio.h & other system headers Ensures definitions like _GNU_SOURCE are visible when needed. Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer --- pf.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pf.c') diff --git a/pf.c b/pf.c index 0eb0f55..3f0c3f4 100644 --- a/pf.c +++ b/pf.c @@ -26,6 +26,10 @@ from The Open Group. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include -- cgit v1.2.3