summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
Diffstat (limited to 'osdep')
-rw-r--r--osdep/getch2.c1
-rw-r--r--osdep/mmap_anon.c2
-rw-r--r--osdep/shmem.c1
-rw-r--r--osdep/timer-linux.c1
4 files changed, 5 insertions, 0 deletions
diff --git a/osdep/getch2.c b/osdep/getch2.c
index 4a591da2db..7145504e5d 100644
--- a/osdep/getch2.c
+++ b/osdep/getch2.c
@@ -58,6 +58,7 @@
#include "mp_fifo.h"
#include "keycodes.h"
+#include "getch2.h"
#ifdef HAVE_TERMIOS
static struct termios tio_orig;
diff --git a/osdep/mmap_anon.c b/osdep/mmap_anon.c
index 727761cb6c..d5b3a3dd2f 100644
--- a/osdep/mmap_anon.c
+++ b/osdep/mmap_anon.c
@@ -27,6 +27,8 @@
#include <fcntl.h>
#include <sys/mman.h>
+#include "mmap_anon.h"
+
#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
#define MAP_ANONYMOUS MAP_ANON
#endif
diff --git a/osdep/shmem.c b/osdep/shmem.c
index 9788d02bc5..e942f462ed 100644
--- a/osdep/shmem.c
+++ b/osdep/shmem.c
@@ -40,6 +40,7 @@
#include <fcntl.h>
#include "mp_msg.h"
+#include "shmem.h"
#ifdef AIX
#include <sys/select.h>
diff --git a/osdep/timer-linux.c b/osdep/timer-linux.c
index 8c1af557a0..0c1908899d 100644
--- a/osdep/timer-linux.c
+++ b/osdep/timer-linux.c
@@ -27,6 +27,7 @@
#include <time.h>
#include <sys/time.h>
#include "config.h"
+#include "timer.h"
const char *timer_name =
#ifdef HAVE_NANOSLEEP