freebsd-kauth-sig-t-20090512
authorMatt Benjamin <matt@linuxbox.com>
Tue, 12 May 2009 18:18:37 +0000 (18:18 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 12 May 2009 18:18:37 +0000 (18:18 +0000)
LICENSE IPL10
FIXES 124569

define the old signal type as sig_t on freebsd (e.g. everywhere we prototype as
sig_t)

src/kauth/user.c

index 2352f50..035f493 100644 (file)
@@ -157,7 +157,7 @@ ka_UserAuthenticateGeneral(afs_int32 flags, char *name, char *instance,
     int remainingTime = 0;
     struct ktc_encryptionKey key;
     afs_int32 code, dosetpag = 0;
-#if !defined(AFS_NT40_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_USR_LINUX20_ENV) && !defined(AFS_XBSD_ENV)
+#if !defined(AFS_NT40_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_USR_LINUX20_ENV) && !defined(AFS_XBSD_ENV) || defined(AFS_FBSD_ENV)
     sig_t old;
 #endif