From 6b6d534498e8c1aad97d85c638de20cf9af60c80 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Thu, 24 Mar 2011 11:36:23 +1200 Subject: [PATCH] signal.h is required before defining SA_* macros uncovered by LZZ precompiler. --- compat/compat_shared.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compat/compat_shared.h b/compat/compat_shared.h index 94644419ba..1d2b89390f 100644 --- a/compat/compat_shared.h +++ b/compat/compat_shared.h @@ -167,6 +167,9 @@ max(A const & lhs, A const & rhs) * Signalling flags are apparently not always provided. * TODO find out if these can be moved into specific OS portability files. */ +#if HAVE_SIGNAL_H +#include +#endif #ifndef SA_RESTART #define SA_RESTART 0 #endif -- 2.47.2