summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tty.c b/tty.c
index a430f0f..b9edca2 100644
--- a/tty.c
+++ b/tty.c
@@ -1,5 +1,7 @@
/* uuterm, Copyright (C) 2006 Rich Felker; licensed under GNU GPL v2 only */
+#define _XOPEN_SOURCE 500
+
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>