diff options
-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 |