1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-23 11:43:26 +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

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