aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/portability.h3
-rw-r--r--toys.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/portability.h b/lib/portability.h
index 9a7b349b..f6f76729 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -207,9 +207,6 @@ ssize_t getline(char **lineptr, size_t *n, FILE *stream);
#include <utmpx.h>
#endif
-#include <pty.h>
-
-
// Some systems don't define O_NOFOLLOW, and it varies by architecture, so...
#include <fcntl.h>
#ifndef O_NOFOLLOW
diff --git a/toys.h b/toys.h
index 6672cfcf..aa4381c5 100644
--- a/toys.h
+++ b/toys.h
@@ -63,6 +63,7 @@
#include <wctype.h>
// LSB 4.1 headers
+#include <pty.h>
#include <sys/ioctl.h>
#include <sys/statfs.h>
#include <sys/sysinfo.h>