summaryrefslogtreecommitdiff
path: root/security/fragroute/files/patch-pkt.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/fragroute/files/patch-pkt.h')
-rw-r--r--security/fragroute/files/patch-pkt.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/security/fragroute/files/patch-pkt.h b/security/fragroute/files/patch-pkt.h
new file mode 100644
index 000000000000..3b818108f263
--- /dev/null
+++ b/security/fragroute/files/patch-pkt.h
@@ -0,0 +1,18 @@
+--- pkt.h.orig 2002-04-07 22:55:20 UTC
++++ pkt.h
+@@ -9,10 +9,14 @@
+ #ifndef PKT_H
+ #define PKT_H
+
++#include <sys/queue.h>
+ #include <sys/time.h>
+ #include <dnet.h>
+ #include <event.h>
+-#include "queue.h"
++
++#ifndef TAILQ_END
++#define TAILQ_END(head) NULL
++#endif
+
+ #define PKT_BUF_LEN (ETH_HDR_LEN + ETH_MTU)
+ #define PKT_BUF_ALIGN 2