From 0a0fa0a41928564fa92100bff1bc21f85d770bfb Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Wed, 12 Jan 2022 20:32:44 +0100 Subject: [PATCH] src/bytecode.c: include config.h to activate guards Fix compilation on Solaris, which needs sys/wait.h for macros like WEXITSTATUS. Signed-off-by: Fabian Groffen --- src/bytecode.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bytecode.c b/src/bytecode.c index 8ef848b0..c30778da 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -20,6 +20,10 @@ * SOFTWARE. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include