aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-01-16 13:55:32 -0600
committerRob Landley <rob@landley.net>2015-01-16 13:55:32 -0600
commit0a4bd4b89f9a17e4ba8c7873d1384fb04f79b14d (patch)
tree1d2654ca0ccba2906537830f1ffb9df10bc333fa
parentc2415d16a8991e2192bda002baab840bfa4d5d79 (diff)
downloadtoybox-0a4bd4b89f9a17e4ba8c7873d1384fb04f79b14d.tar.gz
Move pty.h back to toys.h (under LSB 4.1 headers).
-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>