From b157f5ae072ab86184d2f1f978828aa5a188a1c1 Mon Sep 17 00:00:00 2001
From: stepan <stepan.sindelar@oracle.com>
Date: Wed, 14 Feb 2018 17:51:59 +0100
Subject: [PATCH] Attempt to fix Solaris build

---
 .../fficall/src/truffle_common/variables_common.h                | 1 +
 1 file changed, 1 insertion(+)

diff --git a/com.oracle.truffle.r.native/fficall/src/truffle_common/variables_common.h b/com.oracle.truffle.r.native/fficall/src/truffle_common/variables_common.h
index 50855e8d24..b901507ceb 100644
--- a/com.oracle.truffle.r.native/fficall/src/truffle_common/variables_common.h
+++ b/com.oracle.truffle.r.native/fficall/src/truffle_common/variables_common.h
@@ -21,6 +21,7 @@
  * questions.
  */
 #define NO_FASTR_REDEFINE
+#include <stdlib.h>
 #include <string.h>
 #include <Rinterface.h>
 #include <trufflenfi.h>
-- 
GitLab