1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-21 10:43:36 +00:00

Added missing includes, if NOTLS is specified for Linux

This commit is contained in:
Bryan Roe
2019-02-04 12:49:44 -08:00
parent 82e25a12ea
commit 26a3ccefd0
2 changed files with 19 additions and 17 deletions

View File

@@ -21,6 +21,7 @@ limitations under the License.
#include "microstack/ILibAsyncServerSocket.h" #include "microstack/ILibAsyncServerSocket.h"
#include "microstack/ILibProcessPipe.h" #include "microstack/ILibProcessPipe.h"
#include <sys/wait.h> #include <sys/wait.h>
#include <limits.h>
#include <sys/ipc.h> #include <sys/ipc.h>
#include <sys/shm.h> #include <sys/shm.h>

View File

@@ -15,24 +15,25 @@ limitations under the License.
*/ */
#if defined (__APPLE__) #if defined (__APPLE__)
#include <sys/uio.h> #include <sys/uio.h>
#include <sys/mount.h> #include <sys/mount.h>
#include <pthread.h> #include <pthread.h>
//#include <CoreServices/CoreServices.h> //#include <CoreServices/CoreServices.h>
#else #else
#ifdef NACL #ifdef NACL
#include <ifaddrs.h> #include <ifaddrs.h>
#include "chrome/nacl.h" #include "chrome/nacl.h"
#endif #endif
#if defined(_POSIX) #if defined(_POSIX)
#ifndef _VX_CPU #ifndef _VX_CPU
#include <sys/statfs.h> #include <sys/statfs.h>
#endif #endif
#include <pthread.h> #include <pthread.h>
#ifndef _NOILIBSTACKDEBUG #ifndef _NOILIBSTACKDEBUG
#include <execinfo.h> #include <execinfo.h>
#endif #include <inttypes.h>
#endif #endif
#endif
#endif #endif
#ifdef _MINCORE #ifdef _MINCORE