summaryrefslogtreecommitdiff
path: root/src/http-header-glue.c
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2009-10-11 14:31:42 +0000
committerStefan Bühler <stbuehler@web.de>2009-10-11 14:31:42 +0000
commit22e8b456a9800efb92bd0f90a2e1b816d3b4bb07 (patch)
treee306fb18c0c0d4bd3177c4db7a736a8d1d605f40 /src/http-header-glue.c
parentd69683ddb51df40bd175d525f8c53dd4abc2e6e0 (diff)
downloadlighttpd-git-22e8b456a9800efb92bd0f90a2e1b816d3b4bb07.tar.gz
Fix header inclusion order, always include "config.h" before any system header
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2624 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/http-header-glue.c')
-rw-r--r--src/http-header-glue.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/http-header-glue.c b/src/http-header-glue.c
index 9b7d6b9a..9bc416db 100644
--- a/src/http-header-glue.c
+++ b/src/http-header-glue.c
@@ -1,9 +1,3 @@
-#define _GNU_SOURCE
-
-#include <string.h>
-#include <errno.h>
-#include <time.h>
-
#include "base.h"
#include "array.h"
#include "buffer.h"
@@ -11,6 +5,10 @@
#include "etag.h"
#include "response.h"
+#include <string.h>
+#include <errno.h>
+#include <time.h>
+
/*
* This was 'borrowed' from tcpdump.
*