diff options
author | Nicolas Williams <nico@cryptonector.com> | 2013-12-04 18:14:31 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2013-12-04 18:21:42 -0600 |
commit | 54635000c5a9660affd7a08c9d72d3c350ecb241 (patch) | |
tree | 4869c002b1bf4c526706d5e96dbf26bbcea966e2 /compile.c | |
parent | 426edff09c0b77866d209ccfc34eb879982aed64 (diff) |
Conditionally #define _GNU_SOURCE in compile.c
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,4 +1,6 @@ +#ifndef _GNU_SOURCE #define _GNU_SOURCE // for strdup +#endif #include <assert.h> #include <string.h> #include <stdlib.h> |