aboutsummaryrefslogtreecommitdiffstats
path: root/alc/helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/helpers.cpp')
-rw-r--r--alc/helpers.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/alc/helpers.cpp b/alc/helpers.cpp
index 7a547168..2174de05 100644
--- a/alc/helpers.cpp
+++ b/alc/helpers.cpp
@@ -109,6 +109,7 @@ DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x
#include "cpu_caps.h"
#include "fpu_modes.h"
#include "logging.h"
+#include "vector.h"
#if defined(HAVE_GCC_GET_CPUID) && (defined(__i386__) || defined(__x86_64__) || \
@@ -595,6 +596,11 @@ void SetRTPriority(void)
#else
+#if defined(HAVE_PTHREAD_SETSCHEDPARAM) && !defined(__OpenBSD__)
+#include <pthread.h>
+#include <sched.h>
+#endif
+
const PathNamePair &GetProcBinary()
{
static PathNamePair ret;