Fix build. We need to include systm.h before if_var.h.

Pointy hat to:	glebius
This commit is contained in:
Gleb Smirnoff
2013-10-28 15:11:37 +00:00
parent e9c347cd8c
commit f8ba95a1a8
+4 -2
View File
@@ -9,12 +9,14 @@
#include <sys/param.h>
#include <netinet/in.h>
#include <net/if.h>
#if !defined(_KERNEL)
#ifdef _KERNEL
#include <sys/systm.h>
#else
# include <stddef.h>
# include <stdlib.h>
# include <strings.h>
# include <string.h>
#endif
#endif /* !_KERNEL */
#include "netinet/ip_compat.h"
#include "netinet/ip_fil.h"
#ifdef RDX_DEBUG