Conditionally #define _GNU_SOURCE in compile.c

This commit is contained in:
Nicolas Williams committed 2013-12-04 18:21:42 -06:00
1 parent 426edff09c
commit 54635000c5
1 file changed
+2
+2
View File
@@ -1,4 +1,6 @@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE // for strdup
#endif
#include <assert.h>
#include <string.h>
#include <stdlib.h>