diff options
author | bde <bde@FreeBSD.org> | 1998-08-15 21:51:53 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-15 21:51:53 +0000 |
commit | d1358702bffb54156418d126ddfad876d978ae8e (patch) | |
tree | 5a89c5c107949a68e02dd224c226556da0b96c5a /sys/netinet/ip_auth.h | |
parent | a879550a11a56ab8b528f2cfd88152ac91c174c2 (diff) | |
download | FreeBSD-src-d1358702bffb54156418d126ddfad876d978ae8e.zip FreeBSD-src-d1358702bffb54156418d126ddfad876d978ae8e.tar.gz |
Made some disgusting ifdefs even more disgusting to enable the support
for `u_long cmd' ioctl args if __FreeBSD_version >= 300003. Some ioctls
were broken on machines with 32-bit ints and 64-bit longs.
Diffstat (limited to 'sys/netinet/ip_auth.h')
-rw-r--r-- | sys/netinet/ip_auth.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_auth.h b/sys/netinet/ip_auth.h index 06f7cf6..267c217 100644 --- a/sys/netinet/ip_auth.h +++ b/sys/netinet/ip_auth.h @@ -5,7 +5,7 @@ * provided that this notice is preserved and due credit is given * to the original author and the contributors. * - * $Id: ip_auth.h,v 2.0.2.10 1997/10/29 12:14:07 darrenr Exp $ + * $Id: ip_auth.h,v 1.1.1.1 1997/11/16 05:55:52 peter Exp $ * */ #ifndef __IP_AUTH_H__ @@ -58,7 +58,7 @@ extern int fr_newauth __P((mb_t *, fr_info_t *, ip_t *, qif_t *)); #else extern int fr_newauth __P((mb_t *, fr_info_t *, ip_t *)); #endif -#if defined(__NetBSD__) || defined(__OpenBSD__) +#if defined(__NetBSD__) || defined(__OpenBSD__) || (__FreeBSD_version >= 300003) extern int fr_auth_ioctl __P((caddr_t, u_long, frentry_t *, frentry_t **)); #else extern int fr_auth_ioctl __P((caddr_t, int, frentry_t *, frentry_t **)); |