aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-12-11 09:24:40 -0800
committerChris Robinson <[email protected]>2015-12-11 09:24:40 -0800
commit01e43e5d4da47423a0457276febb01fb5efa84e4 (patch)
treea5eca4c0dcdaffa0eff62034beb92d27fcb627a1
parentd7b2bba2e694dd9a8ac9aa5f23837122a2f34523 (diff)
Add includes to work around broken GNU headers and POSIX-2001
-rw-r--r--Alc/backends/oss.c1
-rw-r--r--Alc/backends/solaris.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Alc/backends/oss.c b/Alc/backends/oss.c
index dce42e21..1c3763c6 100644
--- a/Alc/backends/oss.c
+++ b/Alc/backends/oss.c
@@ -22,6 +22,7 @@
#include <sys/ioctl.h>
#include <sys/types.h>
+#include <sys/time.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
diff --git a/Alc/backends/solaris.c b/Alc/backends/solaris.c
index 52ca9090..6eaf1ee5 100644
--- a/Alc/backends/solaris.c
+++ b/Alc/backends/solaris.c
@@ -22,6 +22,7 @@
#include <sys/ioctl.h>
#include <sys/types.h>
+#include <sys/time.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>