--- src/sys/net/pf/if_pfsync.h 2004/09/19 22:32:47 1.1 +++ src/sys/net/pf/if_pfsync.h 2004/09/20 01:43:13 1.2 @@ -33,6 +33,15 @@ #ifndef _NET_IF_PFSYNC_H_ #define _NET_IF_PFSYNC_H_ +/* + * pfvar.h is required to get struct pf_addr. Also kdump and other utilities + * blindly include header files to try to get all the ioctl constants and + * buildworld will fail without this. We need a better way XXX + */ +#ifndef _NET_PFVAR_H_ +#include "pfvar.h" +#endif + #define PFSYNC_ID_LEN sizeof(u_int64_t)