diff options
| author | martin <martin@NetBSD.org> | 2019-02-03 11:03:53 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2019-02-03 11:03:53 +0000 |
| commit | 3cbafc3d4c989780cc3a0605148b5924ec832727 (patch) | |
| tree | 59f89647cc12350503327edd336b9aa9e8c8ac61 /sys/dev/raidframe | |
| parent | f88c792336205da78bfe99720e2ae36dfa6cc734 (diff) | |
When we force COMPAT_NETBSD32 to be defined, force it to the same value
that opt_compate_netbsd32.h would have, otherwise we get a "redefined"
error from gcc.
XXX this looks fishy, Paul, can you have a look, please?
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_netbsdkintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index 135828b737d..874fdeccf2e 100644 --- a/sys/dev/raidframe/rf_netbsdkintf.c +++ b/sys/dev/raidframe/rf_netbsdkintf.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_netbsdkintf.c,v 1.361 2019/02/03 08:02:24 pgoyette Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.362 2019/02/03 11:03:53 martin Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc. @@ -101,7 +101,7 @@ ***********************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.361 2019/02/03 08:02:24 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.362 2019/02/03 11:03:53 martin Exp $"); #ifdef _KERNEL_OPT #include "opt_raid_autoconfig.h" @@ -152,7 +152,7 @@ __KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.361 2019/02/03 08:02:24 pgoyett #ifdef _LP64 #ifndef COMPAT_NETBSD32 -#define COMPAT_NETBSD32 +#define COMPAT_NETBSD32 1 #endif #include "rf_compat32.h" #endif |
