summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/dnsd.c2
-rw-r--r--networking/isrv_identd.c2
-rw-r--r--networking/libiproute/iprule.c1
-rw-r--r--networking/telnetd.c3
-rw-r--r--networking/zcip.c4
5 files changed, 4 insertions, 8 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c
index 8f01d5c..19720d6 100644
--- a/networking/dnsd.c
+++ b/networking/dnsd.c
@@ -17,8 +17,8 @@
* the first porting of oao' scdns to busybox also.
*/
-#include <syslog.h>
#include "libbb.h"
+#include <syslog.h>
//#define DEBUG 1
#define DEBUG 0
diff --git a/networking/isrv_identd.c b/networking/isrv_identd.c
index a93de12..dbdecba 100644
--- a/networking/isrv_identd.c
+++ b/networking/isrv_identd.c
@@ -7,8 +7,8 @@
* Licensed under GPL version 2, see file LICENSE in this tarball for details.
*/
-#include <syslog.h>
#include "libbb.h"
+#include <syslog.h>
#include "isrv.h"
enum { TIMEOUT = 20 };
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c
index 6b22061..3f9007e 100644
--- a/networking/libiproute/iprule.c
+++ b/networking/libiproute/iprule.c
@@ -16,7 +16,6 @@
* initially integrated into busybox by Bernhard Fischer
*/
-#include <syslog.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 0201d26..962e5cc 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -24,14 +24,13 @@
#define DEBUG 0
#include "libbb.h"
+#include <syslog.h>
#if DEBUG
#define TELCMDS
#define TELOPTS
#endif
#include <arpa/telnet.h>
-#include <sys/syslog.h>
-
/* Structure that describes a session */
struct tsession {
diff --git a/networking/zcip.c b/networking/zcip.c
index ef9aa21..6e1c0d1 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -23,9 +23,6 @@
// - avoid silent script failures, especially under load...
// - link status monitoring (restart on link-up; stop on link-down)
-#include <syslog.h>
-#include <poll.h>
-#include <sys/wait.h>
#include <netinet/ether.h>
#include <net/ethernet.h>
#include <net/if.h>
@@ -34,6 +31,7 @@
#include <linux/sockios.h>
#include "libbb.h"
+#include <syslog.h>
/* We don't need more than 32 bits of the counter */
#define MONOTONIC_US() ((unsigned)monotonic_us())