diff --git a/com.oracle.truffle.r.native/fficall/src/jni/Rembedded.c b/com.oracle.truffle.r.native/fficall/src/jni/Rembedded.c
index 76af2dc91aa21dbb0279ff14595d1f8e3520ee35..b22fbd79492855ffe0a34495cd1c9f1e76907c67 100644
--- a/com.oracle.truffle.r.native/fficall/src/jni/Rembedded.c
+++ b/com.oracle.truffle.r.native/fficall/src/jni/Rembedded.c
@@ -23,6 +23,9 @@ static int initialized = 0;
 static jclass rembeddedClass;
 static jclass rStartParamsClass;
 
+int R_running_as_main_program;
+int R_SignalHandlers;
+
 typedef jint (JNICALL *JNI_CreateJavaVMFunc)
 	      (JavaVM **pvm, void **penv, void *args);