aboutsummaryrefslogtreecommitdiff
path: root/test/includes/pre/sys/stat.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-04-17 10:33:36 +0200
committerGitHub <noreply@github.com>2018-04-17 10:33:36 +0200
commit7a13611ba2033766da8cad73f46362bd01632c2c (patch)
tree170eff47d8e67ad5e2c484697f4bd999abf9844e /test/includes/pre/sys/stat.h
parent48967695c441d13bc9faa8aae4bed8d6fb5bdc14 (diff)
parent387fbcd95cade4b0c037d18f404944676a59db09 (diff)
downloadrneovim-7a13611ba2033766da8cad73f46362bd01632c2c.tar.gz
rneovim-7a13611ba2033766da8cad73f46362bd01632c2c.tar.bz2
rneovim-7a13611ba2033766da8cad73f46362bd01632c2c.zip
Merge #8276 'startup: Make -s - read from stdin'
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;