diff options
-rw-r--r-- | Alc/helpers.c | 9 |
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; |