aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-31 22:53:36 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-31 22:53:36 +0000
commitaf6b40a1ea1376ba1a17b877c9320f398bc6d01a (patch)
tree0e69d70188026081554b5c244a008b0b28cb3bb5
parentf672c9e62f8a7c50e700a6471facca5852004e42 (diff)
downloadbusybox-af6b40a1ea1376ba1a17b877c9320f398bc6d01a.tar.gz
Silence some silly warnings
-rw-r--r--networking/traceroute.c3
-rw-r--r--traceroute.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c
index a3af5f698..f4c67cf41 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -72,6 +72,8 @@
#include <string.h>
#include <unistd.h>
#include <sys/time.h>
+#include <sys/types.h>
+#include <sys/socket.h>
#include <netdb.h>
#include <endian.h>
#include <arpa/inet.h>
@@ -80,6 +82,7 @@
#include <netinet/ip_icmp.h>
+
#define MAXPACKET 65535 /* max ip packet size */
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64
diff --git a/traceroute.c b/traceroute.c
index a3af5f698..f4c67cf41 100644
--- a/traceroute.c
+++ b/traceroute.c
@@ -72,6 +72,8 @@
#include <string.h>
#include <unistd.h>
#include <sys/time.h>
+#include <sys/types.h>
+#include <sys/socket.h>
#include <netdb.h>
#include <endian.h>
#include <arpa/inet.h>
@@ -80,6 +82,7 @@
#include <netinet/ip_icmp.h>
+
#define MAXPACKET 65535 /* max ip packet size */
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64