Skip to content

Commit 9b50a73

Browse files
authored
Merge pull request #71 from bnbarham/gnu-decls
2 parents 6a97b58 + 8c5c74b commit 9b50a73

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

api_test/harness.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
#define _DEFAULT_SOURCE
1+
// _GNU_SOURCE is all ISO/POSIX/XOPEN/BSD/SVID + GNU extensions. It also sets
2+
// _DEFAULT_SOURCE on newer glibc. We need this for strdup/snprintf/fdopen/etc.
3+
#define _GNU_SOURCE
4+
25
#include <stdarg.h>
36
#include <stdio.h>
47
#include <stdlib.h>

0 commit comments

Comments
 (0)