Revert to _GNU_SOURCE before <time.h> for strptime

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2628 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.24
Stefan Bühler 14 years ago
parent 844d2e9ef5
commit 56adf372fb

@ -1,7 +1,3 @@
#ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE
#endif
#include "base.h"
#include "array.h"
#include "buffer.h"
@ -11,6 +7,11 @@
#include <string.h>
#include <errno.h>
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <time.h>
/*

Loading…
Cancel
Save