summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_auth.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-15 21:51:53 +0000
committerbde <bde@FreeBSD.org>1998-08-15 21:51:53 +0000
commitd1358702bffb54156418d126ddfad876d978ae8e (patch)
tree5a89c5c107949a68e02dd224c226556da0b96c5a /sys/netinet/ip_auth.h
parenta879550a11a56ab8b528f2cfd88152ac91c174c2 (diff)
downloadFreeBSD-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.h4
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 **));
OpenPOWER on IntegriCloud