From 0258138e207c8f3e8bb05a47599aa04b4e9567cf Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 14 Jan 2013 15:21:52 -0800 Subject: lib/replace: Include sys/ucontext.h if available. Signed-off-by: Jeremy Allison Reviewed-by: Stefan Metzmacher --- lib/replace/system/wait.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/replace') diff --git a/lib/replace/system/wait.h b/lib/replace/system/wait.h index f0c3bdccab..146c61a094 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 -- cgit