OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b94df
)
Move pty.h back to toys.h (under LSB 4.1 headers).
author
Rob Landley
<rob@landley.net>
Fri, 16 Jan 2015 19:55:32 +0000
(13:55 -0600)
committer
Elliott Hughes
<enh@google.com>
Sat, 17 Jan 2015 03:10:28 +0000
(19:10 -0800)
lib/portability.h
patch
|
blob
|
history
toys.h
patch
|
blob
|
history
diff --git
a/lib/portability.h
b/lib/portability.h
index
ccac90c
..
bb1f5ae
100644
(file)
--- a/
lib/portability.h
+++ b/
lib/portability.h
@@
-212,9
+212,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
6672cfc
..
aa4381c
100644
(file)
--- 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>