Linux: Fix USE_UCONTEXT detection
[openafs.git] / src / config / param.linux24.h
index 3c2afa5..802a7cf 100644 (file)
 
 #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 */