summaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorThomas Petazzoni2013-10-16 19:59:45 +0200
committerDenys Vlasenko2013-10-16 19:59:45 +0200
commitaf4f0e48eccd1ab1abe361bb70960a8b73775722 (patch)
treeeaf59dd3ce80c775f7ae72f831f6339c9501157a /runit
parent28a209466f43c22db42dd02baa136ac7ac25069b (diff)
downloadbusybox-af4f0e48eccd1ab1abe361bb70960a8b73775722.zip
busybox-af4f0e48eccd1ab1abe361bb70960a8b73775722.tar.gz
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>
Diffstat (limited to 'runit')
-rw-r--r--runit/runsv.c1
-rw-r--r--runit/runsvdir.c1
-rw-r--r--runit/sv.c1
-rw-r--r--runit/svlogd.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index 3e1a3c8..d941e89 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -33,7 +33,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//usage:#define runsv_full_usage "\n\n"
//usage: "Start and monitor a service and optionally an appendant log service"
-#include <sys/poll.h>
#include <sys/file.h>
#include "libbb.h"
#include "runit_lib.h"
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index 32526cf..af7e75b 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -35,7 +35,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//usage: "\n -P Put each runsv in a new session"
//usage: "\n -s SCRIPT Run SCRIPT <signo> after signal is processed"
-#include <sys/poll.h>
#include <sys/file.h>
#include "libbb.h"
#include "runit_lib.h"
diff --git a/runit/sv.c b/runit/sv.c
index 5b01c87..825e9d4 100644
--- a/runit/sv.c
+++ b/runit/sv.c
@@ -169,7 +169,6 @@ Exit Codes
//usage: "pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n"
//usage: "STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service"
-#include <sys/poll.h>
#include <sys/file.h>
#include "libbb.h"
#include "runit_lib.h"
diff --git a/runit/svlogd.c b/runit/svlogd.c
index 8b8a6d8..c080b9a 100644
--- a/runit/svlogd.c
+++ b/runit/svlogd.c
@@ -142,7 +142,6 @@ log message, you can use a pattern like this instead
//usage: "\n""+,-PATTERN - (de)select line for logging"
//usage: "\n""E,ePATTERN - (de)select line for stderr"
-#include <sys/poll.h>
#include <sys/file.h>
#include "libbb.h"
#include "runit_lib.h"