add missing header file - st - simple terminal (HTM) git clone https://git.parazyd.org/st (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 5e680d7102ec540ca5859a87a82a2c8d93532518 (DIR) parent dc01596e6d7b81d52b805a3e8c16e47228325540 (HTM) Author: Matthias-Christian Ott <ott@enolink.de> Date: Sun, 8 Jun 2008 21:18:49 +0200 add missing header file Diffstat: M std.c | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- (DIR) diff --git 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>