diff options
author | Eric Andersen | 2001-07-31 22:53:36 +0000 |
---|---|---|
committer | Eric Andersen | 2001-07-31 22:53:36 +0000 |
commit | af6b40a1ea1376ba1a17b877c9320f398bc6d01a (patch) | |
tree | 0e69d70188026081554b5c244a008b0b28cb3bb5 | |
parent | f672c9e62f8a7c50e700a6471facca5852004e42 (diff) | |
download | busybox-af6b40a1ea1376ba1a17b877c9320f398bc6d01a.zip busybox-af6b40a1ea1376ba1a17b877c9320f398bc6d01a.tar.gz |
Silence some silly warnings
-rw-r--r-- | networking/traceroute.c | 3 | ||||
-rw-r--r-- | traceroute.c | 3 |
2 files changed, 6 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 diff --git a/traceroute.c b/traceroute.c index a3af5f6..f4c67cf 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 |