JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
correct function name
[st.git] / std.c
diff --git a/std.c b/std.c
index be3f41a..fcfead9 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>
@@ -25,7 +28,7 @@ void eprintn(const char *errstr, ...);
 void getpty(void);
 void movea(int x, int y);
 void mover(int x, int y);
-void parse(void);
+void parseesc(void);
 void scroll(int l);
 void shell(void);
 void sigchld(int n);