$NetBSD: patch-ac,v 1.2 2006/03/06 23:02:08 peter Exp $

--- cache.c.orig	2003-08-05 03:20:29.000000000 +0200
+++ cache.c	2006-03-06 23:52:42.000000000 +0100
@@ -37,7 +37,11 @@
 #include <netinet/in.h>
 
 #include <netinet/tcp_fsm.h>
+#ifdef __DragonFly__
+#include <net/pf/pfvar.h>
+#else
 #include <net/pfvar.h>
+#endif
 #include <arpa/inet.h>
 
 #include <stdio.h>
@@ -54,6 +58,7 @@
 
 /* initialize the tree and queue */
 RB_HEAD(sc_tree, sc_ent) sctree;
+RB_PROTOTYPE(sc_tree, sc_ent, tlink, sc_cmp);
 TAILQ_HEAD(sc_queue, sc_ent) scq1, scq2, scq_free;
 RB_GENERATE(sc_tree, sc_ent, tlink, sc_cmp);
 
