Only include sys/syscall.h when __linux__ is defined

This commit is contained in:
Adrian Graber 2021-01-24 16:34:47 +01:00
parent d76b58cc72
commit b60baf46f6
1 changed files with 4 additions and 1 deletions

View File

@ -1,8 +1,8 @@
#ifndef _WIN32
#include "common.h"
#include "crossplatform.h"
#include <pthread.h>
#include <signal.h>
#include <pthread.h>
#include <semaphore.h>
#include <sys/types.h>
#include <unistd.h>
@ -13,7 +13,10 @@
#include <fcntl.h>
#include <sys/resource.h>
#include <stdarg.h>
#ifdef __linux__
#include <sys/syscall.h>
#endif
#include "CdStream.h"
#include "rwcore.h"