From: Matthias-Christian Ott <ott@enolink.de>
Date: Sun, 8 Jun 2008 19:18:49 +0000 (+0200)
Subject: add missing header file
X-Git-Url: https://git.owens.tech/assets/editable-focus.html/assets/editable-focus.html/git?a=commitdiff_plain;h=5e680d7102ec540ca5859a87a82a2c8d93532518;p=st.git

add missing header file
---

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>