Move pty.h back to toys.h (under LSB 4.1 headers).
author |
Rob Landley <rob@landley.net> |
date |
Fri, 16 Jan 2015 13:55:32 -0600 |
parents |
c1715c752e89 |
children |
692be264d4f0 |
files |
lib/portability.h toys.h |
diffstat |
2 files changed, 1 insertions(+), 3 deletions(-)
[+]
|
line diff
--- a/lib/portability.h Fri Jan 16 13:49:23 2015 -0600
+++ b/lib/portability.h Fri Jan 16 13:55:32 2015 -0600
@@ -207,9 +207,6 @@
#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
--- a/toys.h Fri Jan 16 13:49:23 2015 -0600
+++ b/toys.h Fri Jan 16 13:55:32 2015 -0600
@@ -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>