From c3ea1ac37e8701aca5b69624eacd6809135cdd37 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Tue, 8 Feb 2022 18:31:27 -0600 Subject: [PATCH] kafs: Fix OS X build (warning/error) --- lib/kafs/afssys.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/kafs/afssys.c b/lib/kafs/afssys.c index ae33ff182..b40062607 100644 --- a/lib/kafs/afssys.c +++ b/lib/kafs/afssys.c @@ -106,7 +106,9 @@ int _kafs_debug; /* this should be done in a better way */ #define SUN_PROC_POINT 8 static int afs_entry_point = UNKNOWN_ENTRY_POINT; +#if defined(AFS_SYSCALL) || defined(AFS_SYSCALL2) || defined(AFS_SYSCALL3) || defined(AFS_PIOCTL) static int afs_syscalls[2]; +#endif static char *afs_ioctlpath; static unsigned long afs_ioctlnum;