aboutsummaryrefslogtreecommitdiff
path: root/test/includes/pre/sys/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/includes/pre/sys/stat.h')
-rw-r--r--test/includes/pre/sys/stat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/includes/pre/sys/stat.h b/test/includes/pre/sys/stat.h
index c6cac80913..1cb811d579 100644
--- a/test/includes/pre/sys/stat.h
+++ b/test/includes/pre/sys/stat.h
@@ -1,4 +1,6 @@
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
#include <sys/stat.h>
static const mode_t kS_IFMT = S_IFMT;