summaryrefslogtreecommitdiff
path: root/test/stdlib/ptytest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/stdlib/ptytest.c')
-rw-r--r--test/stdlib/ptytest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/stdlib/ptytest.c b/test/stdlib/ptytest.c
index e85072e76..dd531b416 100644
--- a/test/stdlib/ptytest.c
+++ b/test/stdlib/ptytest.c
@@ -1,3 +1,4 @@
+#define _XOPEN_SOURCE
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>