ucontext requires glibc version info to engage.
glibc info comes from features.h, which if we include afs_sysnames.h,
we get... so, let's swap these.
Change-Id: I26e5554f2c5c5f9f8a74fb591efdfdc1f6ae7257
Reviewed-on: http://gerrit.openafs.org/2868
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
#endif /* !defined(UKERNEL) */
+/* needed so glibc version will be defined */
+#include <afs/afs_sysnames.h>
+
#ifdef __GLIBC__
#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
#define USE_UCONTEXT
#endif
#endif
-#include <afs/afs_sysnames.h>
-
#endif /* AFS_PARAM_COMMON_H */
#endif /* !defined(UKERNEL) */
+/* needed so glibc version will be defined */
+#include <afs/afs_sysnames.h>
+
#ifdef __GLIBC__
#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
#define USE_UCONTEXT
#endif
#endif
-#include <afs/afs_sysnames.h>
-
#endif /* AFS_PARAM_COMMON_H */