Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
add missing header file
[st.git]
/
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>