summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorEric Andersen2001-07-31 22:53:36 +0000
committerEric Andersen2001-07-31 22:53:36 +0000
commitaf6b40a1ea1376ba1a17b877c9320f398bc6d01a (patch)
tree0e69d70188026081554b5c244a008b0b28cb3bb5 /networking
parentf672c9e62f8a7c50e700a6471facca5852004e42 (diff)
downloadbusybox-af6b40a1ea1376ba1a17b877c9320f398bc6d01a.zip
busybox-af6b40a1ea1376ba1a17b877c9320f398bc6d01a.tar.gz
Silence some silly warnings
Diffstat (limited to 'networking')
-rw-r--r--networking/traceroute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c
index a3af5f6..f4c67cf 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