Linux: Fix USE_UCONTEXT detection
[openafs.git] / src / config / param.linux26.h
index 0feafa6..ad2536b 100644 (file)
@@ -21,7 +21,6 @@
 #define AFS_MOUNT_AFS          "afs"   /* The name of the filesystem type */
 #define AFS_64BIT_IOPS_ENV     1
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #undef  AFS_NONFSTRANS
 #define AFS_NONFSTRANS         1
@@ -34,6 +33,8 @@
 #define AFS_USE_GETTIMEOFDAY   1       /* use gettimeofday to implement rx clock */
 #define AFS_MAXVCOUNT_ENV       1
 
+#define AFS_PRIVATE_OSI_ALLOCSPACES    1
+
 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
 #define AFS_GLOBAL_SUNLOCK
 #endif /* __KERNEL__   && !DUMP_KERNEL */
@@ -68,7 +69,6 @@
 #define AFS_NONFSTRANS                 1
 #define AFS_MOUNT_AFS          "afs"   /* The name of the filesystem type. */
 #define AFS_64BIT_IOPS_ENV     1
-#define AFS_64BIT_ENV          1
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
 #define AFS_USERSPACE_IP_ADDR  1
 #define RXK_LISTENER_ENV       1
@@ -96,8 +96,9 @@
 
 #endif /* !defined(UKERNEL) */
 
-/* needed so glibc version will be defined */
-#include <afs/afs_sysnames.h>
+#if defined(UKERNEL) || !defined(KERNEL)
+#include <features.h>
+#endif
 
 #ifdef __GLIBC__
 #if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
 #endif
 #endif
 
+#include <afs/afs_sysnames.h>
+
 #endif /* AFS_PARAM_COMMON_H */