diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-10-16 19:59:45 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-10-16 19:59:45 +0200 |
commit | af4f0e48eccd1ab1abe361bb70960a8b73775722 (patch) | |
tree | eaf59dd3ce80c775f7ae72f831f6339c9501157a | |
parent | 28a209466f43c22db42dd02baa136ac7ac25069b (diff) | |
download | busybox-w32-af4f0e48eccd1ab1abe361bb70960a8b73775722.tar.gz busybox-w32-af4f0e48eccd1ab1abe361bb70960a8b73775722.tar.bz2 busybox-w32-af4f0e48eccd1ab1abe361bb70960a8b73775722.zip |
libbb: use <poll.h> instead of <sys/poll.h>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/libbb.h | 4 | ||||
-rw-r--r-- | runit/runsv.c | 1 | ||||
-rw-r--r-- | runit/runsvdir.c | 1 | ||||
-rw-r--r-- | runit/sv.c | 1 | ||||
-rw-r--r-- | runit/svlogd.c | 1 |
5 files changed, 2 insertions, 6 deletions
diff --git a/include/libbb.h b/include/libbb.h index c96546109..58271655d 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -32,12 +32,12 @@ | |||
32 | #include <stdarg.h> | 32 | #include <stdarg.h> |
33 | #include <stddef.h> | 33 | #include <stddef.h> |
34 | #include <string.h> | 34 | #include <string.h> |
35 | /* There are two incompatible basename's, let not use them! */ | 35 | /* There are two incompatible basename's, let's not use them! */ |
36 | /* See the dirname/basename man page for details */ | 36 | /* See the dirname/basename man page for details */ |
37 | #include <libgen.h> /* dirname,basename */ | 37 | #include <libgen.h> /* dirname,basename */ |
38 | #undef basename | 38 | #undef basename |
39 | #define basename dont_use_basename | 39 | #define basename dont_use_basename |
40 | #include <sys/poll.h> | 40 | #include <poll.h> |
41 | #include <sys/ioctl.h> | 41 | #include <sys/ioctl.h> |
42 | #include <sys/mman.h> | 42 | #include <sys/mman.h> |
43 | #include <sys/socket.h> | 43 | #include <sys/socket.h> |
diff --git a/runit/runsv.c b/runit/runsv.c index 3e1a3c8e5..d941e897d 100644 --- a/runit/runsv.c +++ b/runit/runsv.c | |||
@@ -33,7 +33,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |||
33 | //usage:#define runsv_full_usage "\n\n" | 33 | //usage:#define runsv_full_usage "\n\n" |
34 | //usage: "Start and monitor a service and optionally an appendant log service" | 34 | //usage: "Start and monitor a service and optionally an appendant log service" |
35 | 35 | ||
36 | #include <sys/poll.h> | ||
37 | #include <sys/file.h> | 36 | #include <sys/file.h> |
38 | #include "libbb.h" | 37 | #include "libbb.h" |
39 | #include "runit_lib.h" | 38 | #include "runit_lib.h" |
diff --git a/runit/runsvdir.c b/runit/runsvdir.c index 32526cf4c..af7e75ba7 100644 --- a/runit/runsvdir.c +++ b/runit/runsvdir.c | |||
@@ -35,7 +35,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |||
35 | //usage: "\n -P Put each runsv in a new session" | 35 | //usage: "\n -P Put each runsv in a new session" |
36 | //usage: "\n -s SCRIPT Run SCRIPT <signo> after signal is processed" | 36 | //usage: "\n -s SCRIPT Run SCRIPT <signo> after signal is processed" |
37 | 37 | ||
38 | #include <sys/poll.h> | ||
39 | #include <sys/file.h> | 38 | #include <sys/file.h> |
40 | #include "libbb.h" | 39 | #include "libbb.h" |
41 | #include "runit_lib.h" | 40 | #include "runit_lib.h" |
diff --git a/runit/sv.c b/runit/sv.c index 5b01c875c..825e9d45b 100644 --- a/runit/sv.c +++ b/runit/sv.c | |||
@@ -169,7 +169,6 @@ Exit Codes | |||
169 | //usage: "pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n" | 169 | //usage: "pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n" |
170 | //usage: "STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service" | 170 | //usage: "STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service" |
171 | 171 | ||
172 | #include <sys/poll.h> | ||
173 | #include <sys/file.h> | 172 | #include <sys/file.h> |
174 | #include "libbb.h" | 173 | #include "libbb.h" |
175 | #include "runit_lib.h" | 174 | #include "runit_lib.h" |
diff --git a/runit/svlogd.c b/runit/svlogd.c index 8b8a6d858..c080b9acc 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c | |||
@@ -142,7 +142,6 @@ log message, you can use a pattern like this instead | |||
142 | //usage: "\n""+,-PATTERN - (de)select line for logging" | 142 | //usage: "\n""+,-PATTERN - (de)select line for logging" |
143 | //usage: "\n""E,ePATTERN - (de)select line for stderr" | 143 | //usage: "\n""E,ePATTERN - (de)select line for stderr" |
144 | 144 | ||
145 | #include <sys/poll.h> | ||
146 | #include <sys/file.h> | 145 | #include <sys/file.h> |
147 | #include "libbb.h" | 146 | #include "libbb.h" |
148 | #include "runit_lib.h" | 147 | #include "runit_lib.h" |