summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorAdrian Graber <adrian@adriangraber.com>2021-01-24 16:34:47 +0100
committerAdrian Graber <adrian@adriangraber.com>2021-01-31 14:27:06 +0100
commitb60baf46f682ae9302f5ecec1ffa21b302d90fbd (patch)
tree7c9604565819f90a5bc1080ec057bae162305fe7 /src/core
parentAdd unnamed semaphore define toggle for CdStreamPosix (diff)
downloadre3-b60baf46f682ae9302f5ecec1ffa21b302d90fbd.tar
re3-b60baf46f682ae9302f5ecec1ffa21b302d90fbd.tar.gz
re3-b60baf46f682ae9302f5ecec1ffa21b302d90fbd.tar.bz2
re3-b60baf46f682ae9302f5ecec1ffa21b302d90fbd.tar.lz
re3-b60baf46f682ae9302f5ecec1ffa21b302d90fbd.tar.xz
re3-b60baf46f682ae9302f5ecec1ffa21b302d90fbd.tar.zst
re3-b60baf46f682ae9302f5ecec1ffa21b302d90fbd.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CdStreamPosix.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/CdStreamPosix.cpp b/src/core/CdStreamPosix.cpp
index 09611fba..50d823d2 100644
--- a/src/core/CdStreamPosix.cpp
+++ b/src/core/CdStreamPosix.cpp
@@ -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"