X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/dc01596e6d7b81d52b805a3e8c16e47228325540..5e680d7102ec540ca5859a87a82a2c8d93532518:/std.c?ds=sidebyside 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>