26 lines
554 B
Text
26 lines
554 B
Text
$NetBSD: patch-ac,v 1.2 2006/08/16 12:50:23 jsonn Exp $
|
|
|
|
--- state.c.orig 2004-10-05 12:07:04.000000000 +0000
|
|
+++ state.c
|
|
@@ -18,14 +18,19 @@
|
|
#include <sys/socket.h>
|
|
#include <sys/tree.h>
|
|
|
|
-#include <net/if.h>
|
|
-#include <net/pfvar.h>
|
|
#include <netinet/in.h>
|
|
#include <netinet/in_systm.h>
|
|
#include <netinet/ip.h>
|
|
#include <netinet/tcp.h>
|
|
#include <netinet/tcp_fsm.h>
|
|
|
|
+#include <net/if.h>
|
|
+#if defined(__DragonFly__)
|
|
+#include <net/pf/pfvar.h>
|
|
+#else
|
|
+#include <net/pfvar.h>
|
|
+#endif
|
|
+
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <time.h>
|