JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
add missing header file
authorMatthias-Christian Ott <ott@enolink.de>
Sun, 8 Jun 2008 19:18:49 +0000 (21:18 +0200)
committerMatthias-Christian Ott <ott@enolink.de>
Sun, 8 Jun 2008 19:18:49 +0000 (21:18 +0200)
std.c

diff --git a/std.c b/std.c
index be3f41a..4c28ae4 100644 (file)
--- 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>