aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--std.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/std.c b/std.c
index be3f41a..4c28ae4 100644
--- a/std.c
+++ b/std.c
@@ -6,6 +6,9 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
+#if !(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600)
+#include <pty.h>
+#endif
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
remember that computers suck.