Revert "LWP: remove ucontext header from preempt module"
[openafs.git] / src / lwp / preempt.c
index c8dca46..0ca9b5f 100644 (file)
@@ -40,6 +40,9 @@ PRE_EndPreempt(void)
 #else
 #include <sys/time.h>
 #include <signal.h>
+#ifdef HAVE_UCONTEXT_H
+#include <ucontext.h>
+#endif
 
 #if defined(AFS_OSF_ENV) || defined(AFS_S390_LINUX20_ENV)
 int PRE_Block = 0;             /* used in lwp.c and process.s */