Files
gentoo/dev-util/colm/files/colm-0.14.7-solaris.patch
Fabian Groffen b5277dffbe dev-util/colm-0.14.7-r1: add patch for Solaris
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2022-01-14 20:41:28 +01:00

29 lines
659 B
Diff

https://github.com/adrian-thurston/colm/pull/145
commit 0a0fa0a41928564fa92100bff1bc21f85d770bfb
Author: Fabian Groffen <grobian@gentoo.org>
Date: Wed Jan 12 20:32:44 2022 +0100
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 <grobian@gentoo.org>
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 <colm/bytecode.h>
#include <sys/types.h>