Line 0
Link Here
|
|
|
1 |
diff --git a/src/afs/afs_prototypes.h b/src/afs/afs_prototypes.h |
2 |
index 04f13ad..4135ebb 100644 |
3 |
--- a/src/afs/afs_prototypes.h |
4 |
+++ b/src/afs/afs_prototypes.h |
5 |
@@ -935,8 +935,9 @@ extern int copyin_afs_ioctl(caddr_t cmarg, struct afs_ioctl *dst); |
6 |
#if defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV) |
7 |
#ifdef AFS_DARWIN100_ENV |
8 |
extern int afs3_syscall(afs_proc_t *p, void *args, unsigned int *retval); |
9 |
-#elif defined(AFS_FBSD90_ENV) || defined(AFS_FBSD82_ENV) |
10 |
-/* afs3_syscall prototype is in sys/sysproto.h */ |
11 |
+#elif (defined(AFS_FBSD90_ENV) || defined(AFS_FBSD82_ENV)) && (__FreeBSD_version < 900044) |
12 |
+/* afs3_syscall prototype is in sys/sysproto.h |
13 |
+ Yes, they put it in, then took it out again (renamed with a sys_ prefix) */ |
14 |
#elif defined(AFS_FBSD_ENV) |
15 |
extern int afs3_syscall(struct thread *p, void *args); |
16 |
#elif defined(AFS_NBSD50_ENV) |