summaryrefslogtreecommitdiffhomepage
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/fakeidentd.c10
-rw-r--r--networking/nameif.c4
2 files changed, 4 insertions, 10 deletions
diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c
index d3aa3ce5d..b097d9980 100644
--- a/networking/fakeidentd.c
+++ b/networking/fakeidentd.c
@@ -9,28 +9,22 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
+#include "busybox.h"
+
#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
#include <string.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/syslog.h>
#include <pwd.h>
-#include <netdb.h>
#include <sys/syslog.h>
-#include <sys/types.h>
#include <time.h>
#include <sys/socket.h>
-#include <netinet/in.h>
#include <errno.h>
-#include <arpa/inet.h>
#include <sys/uio.h>
-#include "busybox.h"
#define IDENT_PORT 113
#define MAXCONNS 20
diff --git a/networking/nameif.c b/networking/nameif.c
index 7dc48ec16..3d53d6f15 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -8,17 +8,17 @@
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
+#include "busybox.h"
+
#include <sys/syslog.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <errno.h>
-#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <net/if.h>
#include <netinet/ether.h>
-#include "busybox.h"
/* Older versions of net/if.h do not appear to define IF_NAMESIZE. */
#ifndef IF_NAMESIZE