summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-11-15 17:44:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-11-15 17:44:11 +0000
commite3575d3e53b17ef9dbf9a6117d22e055938e8a55 (patch)
tree941fb19b4674faf9ec7660519d14ff3e5926f442
parent30038c6e004f8c90dc195ab8be20fb1390240399 (diff)
this code is shared into userland, and there it should not pull
in sys/mbuf.h ok claudio
-rw-r--r--sys/net/pf_ruleset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_ruleset.c b/sys/net/pf_ruleset.c
index 31c5e86e7cb..1951001fbdc 100644
--- a/sys/net/pf_ruleset.c
+++ b/sys/net/pf_ruleset.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ruleset.c,v 1.6 2010/01/18 23:52:46 mcbride Exp $ */
+/* $OpenBSD: pf_ruleset.c,v 1.7 2012/11/15 17:44:10 deraadt Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -39,8 +39,8 @@
#include <sys/socket.h>
#ifdef _KERNEL
# include <sys/systm.h>
+# include <sys/mbuf.h>
#endif /* _KERNEL */
-#include <sys/mbuf.h>
#include <sys/syslog.h>
#include <netinet/in.h>