From: Jeremy Allison Date: Mon, 14 Jan 2013 23:21:52 +0000 (-0800) Subject: lib/replace: Include sys/ucontext.h if available. X-Git-Tag: ldb-1.1.15~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0258138e207c8f3e8bb05a47599aa04b4e9567cf;p=thirdparty%2Fsamba.git lib/replace: Include sys/ucontext.h if available. Signed-off-by: Jeremy Allison Reviewed-by: Stefan Metzmacher --- diff --git a/lib/replace/system/wait.h b/lib/replace/system/wait.h index f0c3bdccab3..146c61a0947 100644 --- a/lib/replace/system/wait.h +++ b/lib/replace/system/wait.h @@ -40,6 +40,10 @@ #include #endif +#ifdef HAVE_SYS_UCONTEXT_H +#include +#endif + #if !defined(HAVE_SIG_ATOMIC_T_TYPE) typedef int sig_atomic_t; #endif