aboutsummaryrefslogtreecommitdiff
path: root/std.c
diff options
context:
space:
mode:
authorMatthias-Christian Ott <ott@enolink.de>2008-06-08 21:18:49 +0200
committerMatthias-Christian Ott <ott@enolink.de>2008-06-08 21:18:49 +0200
commit130b90d8d076d930eb3996659f542f849015341b (patch)
tree6962af90af1e5f97a48aea96bb821b0946b71d60 /std.c
parent62872197f8b6bb49804eb8e3c900d4248a39e21e (diff)
downloadst-130b90d8d076d930eb3996659f542f849015341b.tar.gz
st-130b90d8d076d930eb3996659f542f849015341b.tar.bz2
add missing header file
Diffstat (limited to 'std.c')
-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>