mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Move unistd.h include to cpp where its used (#25107)
Summary: unistd.h isn't a header available in the windows SDK, so we can't include it from react-native-windows. I moved the usage of dup, to JSBigString.cpp in a previous PR, so this header should only be needed in the cpp file, not the header. (And react-native-windows doesn't use the cpp file) ## Changelog [Internal] [Fixed] - Header cleanup Pull Request resolved: https://github.com/facebook/react-native/pull/25107 Differential Revision: D15602265 Pulled By: cpojer fbshipit-source-id: 6a62bf8fe6758e400810f37834e8646485120d71
This commit is contained in:
committed by
Facebook Github Bot
parent
a98772e94c
commit
7f489b63f2
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glog/logging.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user