From fc91bccd5333af88e49ecb19f56c5d6bb0931b1e Mon Sep 17 00:00:00 2001 From: Yedidya Feldblum Date: Thu, 28 Feb 2019 00:49:49 -0800 Subject: [PATCH] Add assorted missing includes in xplat Summary: Add assorted missing includes in `xplat` that would be exposed by future changes. Reviewed By: ispeters, nlutsenko Differential Revision: D14213660 fbshipit-source-id: 329f133784015fe20ee99feaec8ef05e117fe3a6 --- React/CxxModule/DispatchMessageQueueThread.h | 2 ++ ReactAndroid/src/main/jni/react/jni/CxxModuleWrapper.cpp | 2 ++ ReactAndroid/src/main/jni/react/jni/JavaModuleWrapper.cpp | 2 ++ ReactAndroid/src/main/jni/react/jni/MethodInvoker.cpp | 2 ++ ReactAndroid/src/main/jni/react/jni/ModuleRegistryBuilder.cpp | 2 ++ ReactCommon/cxxreact/JSBigString.cpp | 2 ++ ReactCommon/cxxreact/JSIndexedRAMBundle.cpp | 2 ++ .../fabric/components/view/accessibility/AccessibilityProps.cpp | 2 ++ ReactCommon/fabric/uimanager/ContextContainer.h | 2 ++ ReactCommon/fabric/uimanager/Scheduler.cpp | 1 + ReactCommon/jsiexecutor/jsireact/JSINativeModules.cpp | 2 ++ 11 files changed, 21 insertions(+) diff --git a/React/CxxModule/DispatchMessageQueueThread.h b/React/CxxModule/DispatchMessageQueueThread.h index bf1cc899b..83bdfb4d0 100644 --- a/React/CxxModule/DispatchMessageQueueThread.h +++ b/React/CxxModule/DispatchMessageQueueThread.h @@ -5,6 +5,8 @@ * LICENSE file in the root directory of this source tree. */ +#include + #include #include diff --git a/ReactAndroid/src/main/jni/react/jni/CxxModuleWrapper.cpp b/ReactAndroid/src/main/jni/react/jni/CxxModuleWrapper.cpp index 4da868a2f..8ad7bacc2 100644 --- a/ReactAndroid/src/main/jni/react/jni/CxxModuleWrapper.cpp +++ b/ReactAndroid/src/main/jni/react/jni/CxxModuleWrapper.cpp @@ -5,6 +5,8 @@ #include "CxxModuleWrapper.h" +#include + #include #include diff --git a/ReactAndroid/src/main/jni/react/jni/JavaModuleWrapper.cpp b/ReactAndroid/src/main/jni/react/jni/JavaModuleWrapper.cpp index 632c2201a..93e166ad0 100644 --- a/ReactAndroid/src/main/jni/react/jni/JavaModuleWrapper.cpp +++ b/ReactAndroid/src/main/jni/react/jni/JavaModuleWrapper.cpp @@ -5,6 +5,8 @@ #include "JavaModuleWrapper.h" +#include + #include #include #include diff --git a/ReactAndroid/src/main/jni/react/jni/MethodInvoker.cpp b/ReactAndroid/src/main/jni/react/jni/MethodInvoker.cpp index 9be87fc99..3c1dc4105 100644 --- a/ReactAndroid/src/main/jni/react/jni/MethodInvoker.cpp +++ b/ReactAndroid/src/main/jni/react/jni/MethodInvoker.cpp @@ -9,6 +9,8 @@ #include #endif +#include + #include #include diff --git a/ReactAndroid/src/main/jni/react/jni/ModuleRegistryBuilder.cpp b/ReactAndroid/src/main/jni/react/jni/ModuleRegistryBuilder.cpp index 12a7f5a68..5d1995596 100644 --- a/ReactAndroid/src/main/jni/react/jni/ModuleRegistryBuilder.cpp +++ b/ReactAndroid/src/main/jni/react/jni/ModuleRegistryBuilder.cpp @@ -5,6 +5,8 @@ #include "ModuleRegistryBuilder.h" +#include + #include #include diff --git a/ReactCommon/cxxreact/JSBigString.cpp b/ReactCommon/cxxreact/JSBigString.cpp index e26a81008..0a0571466 100644 --- a/ReactCommon/cxxreact/JSBigString.cpp +++ b/ReactCommon/cxxreact/JSBigString.cpp @@ -8,6 +8,8 @@ #include #include +#include + #include #include #include diff --git a/ReactCommon/cxxreact/JSIndexedRAMBundle.cpp b/ReactCommon/cxxreact/JSIndexedRAMBundle.cpp index 237b9550f..6c2e7e87c 100644 --- a/ReactCommon/cxxreact/JSIndexedRAMBundle.cpp +++ b/ReactCommon/cxxreact/JSIndexedRAMBundle.cpp @@ -5,6 +5,8 @@ #include "JSIndexedRAMBundle.h" +#include + #include namespace facebook { diff --git a/ReactCommon/fabric/components/view/accessibility/AccessibilityProps.cpp b/ReactCommon/fabric/components/view/accessibility/AccessibilityProps.cpp index f8ba55d97..a900be33c 100644 --- a/ReactCommon/fabric/components/view/accessibility/AccessibilityProps.cpp +++ b/ReactCommon/fabric/components/view/accessibility/AccessibilityProps.cpp @@ -7,6 +7,8 @@ #include "AccessibilityProps.h" +#include + #include #include #include diff --git a/ReactCommon/fabric/uimanager/ContextContainer.h b/ReactCommon/fabric/uimanager/ContextContainer.h index 3ae07673b..3c0170342 100644 --- a/ReactCommon/fabric/uimanager/ContextContainer.h +++ b/ReactCommon/fabric/uimanager/ContextContainer.h @@ -13,6 +13,8 @@ #include #include +#include + namespace facebook { namespace react { diff --git a/ReactCommon/fabric/uimanager/Scheduler.cpp b/ReactCommon/fabric/uimanager/Scheduler.cpp index 952428fbe..e8904e531 100644 --- a/ReactCommon/fabric/uimanager/Scheduler.cpp +++ b/ReactCommon/fabric/uimanager/Scheduler.cpp @@ -5,6 +5,7 @@ #include "Scheduler.h" +#include #include #include diff --git a/ReactCommon/jsiexecutor/jsireact/JSINativeModules.cpp b/ReactCommon/jsiexecutor/jsireact/JSINativeModules.cpp index a15ceb05c..db63a0c1c 100644 --- a/ReactCommon/jsiexecutor/jsireact/JSINativeModules.cpp +++ b/ReactCommon/jsiexecutor/jsireact/JSINativeModules.cpp @@ -5,6 +5,8 @@ #include "jsireact/JSINativeModules.h" +#include + #include #include