summaryrefslogtreecommitdiff
path: root/networking/traceroute.c
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 /networking/traceroute.c
parentf672c9e62f8a7c50e700a6471facca5852004e42 (diff)
downloadbusybox-w32-af6b40a1ea1376ba1a17b877c9320f398bc6d01a.tar.gz
busybox-w32-af6b40a1ea1376ba1a17b877c9320f398bc6d01a.tar.bz2
busybox-w32-af6b40a1ea1376ba1a17b877c9320f398bc6d01a.zip
Silence some silly warnings
Diffstat (limited to 'networking/traceroute.c')
-rw-r--r--networking/traceroute.c3
1 files changed, 3 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 @@
72#include <string.h> 72#include <string.h>
73#include <unistd.h> 73#include <unistd.h>
74#include <sys/time.h> 74#include <sys/time.h>
75#include <sys/types.h>
76#include <sys/socket.h>
75#include <netdb.h> 77#include <netdb.h>
76#include <endian.h> 78#include <endian.h>
77#include <arpa/inet.h> 79#include <arpa/inet.h>
@@ -80,6 +82,7 @@
80#include <netinet/ip_icmp.h> 82#include <netinet/ip_icmp.h>
81 83
82 84
85
83#define MAXPACKET 65535 /* max ip packet size */ 86#define MAXPACKET 65535 /* max ip packet size */
84#ifndef MAXHOSTNAMELEN 87#ifndef MAXHOSTNAMELEN
85#define MAXHOSTNAMELEN 64 88#define MAXHOSTNAMELEN 64