aboutsummaryrefslogtreecommitdiff
path: root/networking/traceroute.c
diff options
context:
space:
mode:
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 @@
#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