summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-16 15:03:03 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-16 15:03:03 +0000
commit465f535c51f0b3c9050366fb4930c8a465a87f42 (patch)
tree7e0fb48fd0e8880aebd992260d2a7c47502f6bde /osdep
parent3c514ea708749679623ae04fc8f7ade87e51aade (diff)
downloadmpv-465f535c51f0b3c9050366fb4930c8a465a87f42.tar.bz2
mpv-465f535c51f0b3c9050366fb4930c8a465a87f42.tar.xz
#include corresponding .h files in .c files.
This ensures that function declarations in both files always match. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30596 b3059339-0415-0410-9bf9-f77b7e298cf2
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