summaryrefslogtreecommitdiff
path: root/libnet/src
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2012-07-15 21:52:47 +0100
committerSam Roberts <vieuxtech@gmail.com>2012-08-08 16:33:19 -0700
commit2fd3e50d79a84e67bb1bb76b0f6a45f04baff280 (patch)
tree61c75da96ae2290163573810f2597bb21c86bbcd /libnet/src
parentca16d98bc7b458cf226f09a3da9c19eadbdb45a3 (diff)
downloadlibnet-2fd3e50d79a84e67bb1bb76b0f6a45f04baff280.tar.gz
define INET6 on IRIX, making libnet compile cleanly.
Turned out to be an easy fix, once I found some time to look into it. I'm not an expert on IRIX and I only have the one box, but the include files (from the IRIX developer tools CDs) seemed to be referencing some other include files that didn't exist on my system. Luckily it turned out that what appears to be a faulty include wasn't actually needed. With the below patch it compiles cleanly for me, and seems like it shouldn't break anything.
Diffstat (limited to 'libnet/src')
-rw-r--r--libnet/src/libnet_link_snoop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libnet/src/libnet_link_snoop.c b/libnet/src/libnet_link_snoop.c
index 6bef638..2f3517b 100644
--- a/libnet/src/libnet_link_snoop.c
+++ b/libnet/src/libnet_link_snoop.c
@@ -44,7 +44,6 @@
#include <netinet/ip_var.h>
#include <netinet/if_ether.h>
#include <netinet/udp_var.h>
-#include <netinet/tcpip.h>
#include "../include/gnuc.h"
#include "../include/bpf.h"