diff options
author | alfred <alfred@FreeBSD.org> | 2002-01-14 04:12:54 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-01-14 04:12:54 +0000 |
commit | d096a8fe2063cbd285485d0a4c1671594838bcc1 (patch) | |
tree | c695b9775a439b7242c4f8a76d4900a66e4afc4a | |
parent | 06ad08ad45bf1680b3ac4c7e694d9282919ab918 (diff) | |
download | FreeBSD-src-d096a8fe2063cbd285485d0a4c1671594838bcc1.zip FreeBSD-src-d096a8fe2063cbd285485d0a4c1671594838bcc1.tar.gz |
add queue.h, now needed for file.h
-rw-r--r-- | contrib/ipfilter/ipsend/iptests.c | 3 | ||||
-rw-r--r-- | contrib/ipfilter/ipsend/sock.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/contrib/ipfilter/ipsend/iptests.c b/contrib/ipfilter/ipsend/iptests.c index b5b759a..e84a433 100644 --- a/contrib/ipfilter/ipsend/iptests.c +++ b/contrib/ipfilter/ipsend/iptests.c @@ -13,6 +13,9 @@ #define _KERNEL #define KERNEL #if !defined(solaris) && !defined(linux) && !defined(__sgi) +# if (__FreeBSD_version >= 500028) +# include <sys/queue.h> +# endif # include <sys/file.h> #else # ifdef solaris diff --git a/contrib/ipfilter/ipsend/sock.c b/contrib/ipfilter/ipsend/sock.c index da497c8..7ae33ea 100644 --- a/contrib/ipfilter/ipsend/sock.c +++ b/contrib/ipfilter/ipsend/sock.c @@ -28,6 +28,9 @@ # undef LOCORE # include <sys/smp_lock.h> #endif +#if (__FreeBSD_version >= 500028) +#include <sys/queue.h> +#endif #include <sys/file.h> #undef _KERNEL #undef KERNEL |