diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2010-03-11 00:24:59 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2010-03-11 00:24:59 +0000 |
commit | 9b3aa2002edb3e6c221608be16ebafcfb756fc0f (patch) | |
tree | c90ae6318b57000a294765ad6ed60690d3dba8e7 /sys/netinet/udp_usrreq.c | |
parent | b56540c30ebf95623b0ec4331d4fd1f36ac74501 (diff) |
unbreak the build with a custom kernel config including "pseudo-device
faith 1", noticed by Andris Kadar. ok kettenis@ beck@
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 6dd612a5efe..1df5ac82c8c 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp_usrreq.c,v 1.132 2009/11/13 20:54:05 claudio Exp $ */ +/* $OpenBSD: udp_usrreq.c,v 1.133 2010/03/11 00:24:58 sthen Exp $ */ /* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */ /* @@ -104,6 +104,9 @@ extern int ip6_defhlim; #endif /* INET6 */ #include "faith.h" +#if NFAITH > 0 +#include <net/if_types.h> +#endif #include "pf.h" #if NPF > 0 |