diff --git a/ReactAndroid/src/main/jni/xreact/jni/OnLoad.cpp b/ReactAndroid/src/main/jni/xreact/jni/OnLoad.cpp index ead3fc22e..8ea65c6b7 100644 --- a/ReactAndroid/src/main/jni/xreact/jni/OnLoad.cpp +++ b/ReactAndroid/src/main/jni/xreact/jni/OnLoad.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -144,7 +145,7 @@ class JReactMarker : public JavaClass { } extern "C" JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { - return initialize(vm, [] { + return xplat::initialize(vm, [] { // Inject some behavior into react/ ReactMarker::logMarker = JReactMarker::logMarker; WebWorkerUtil::createWebWorkerThread = WebWorkers::createWebWorkerThread;