lib/replace: Include sys/ucontext.h if available.
authorJeremy Allison <jra@samba.org>
Mon, 14 Jan 2013 23:21:52 +0000 (15:21 -0800)
committerStefan Metzmacher <metze@samba.org>
Tue, 15 Jan 2013 07:28:45 +0000 (08:28 +0100)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/replace/system/wait.h

index f0c3bdccab3a1878d0b14dfe35c7c0ebd5aa27ee..146c61a094740f52570d8af955a3995585c7e919 100644 (file)
 #include <setjmp.h>
 #endif
 
+#ifdef HAVE_SYS_UCONTEXT_H
+#include <sys/ucontext.h>
+#endif
+
 #if !defined(HAVE_SIG_ATOMIC_T_TYPE)
 typedef int sig_atomic_t;
 #endif