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
commit5e680d7102ec540ca5859a87a82a2c8d93532518 (patch)
tree6962af90af1e5f97a48aea96bb821b0946b71d60 /std.c
parentdc01596e6d7b81d52b805a3e8c16e47228325540 (diff)
downloadst-5e680d7102ec540ca5859a87a82a2c8d93532518.tar.gz
st-5e680d7102ec540ca5859a87a82a2c8d93532518.tar.bz2
st-5e680d7102ec540ca5859a87a82a2c8d93532518.zip
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>