aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-06-20 03:01:19 -0700
committerChris Robinson <[email protected]>2012-06-20 03:01:19 -0700
commit6f3be31b607b76add84ae835e422c3314bc82a8b (patch)
treea0806958f9f28b07b11e8b6569ece1afc018e017
parent8001d8675131fd27fe319d5ea59191ffe35866e5 (diff)
Add some includes
-rw-r--r--Alc/helpers.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 00bbe7ed..009e83d2 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -21,6 +21,9 @@
#include "config.h"
#include <stdlib.h>
+#include <time.h>
+#include <errno.h>
+#include <stdarg.h>
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif
@@ -123,6 +126,12 @@ WCHAR *strdupW(const WCHAR *str)
#else
+#include <pthread.h>
+#ifdef HAVE_PTHREAD_NP_H
+#include <pthread_np.h>
+#endif
+#include <sched.h>
+
void InitializeCriticalSection(CRITICAL_SECTION *cs)
{
pthread_mutexattr_t attrib;