summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-29 14:52:45 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-29 14:52:45 +0300
commitf59cda84b1e52293e656fffea1529896d28b2d21 (patch)
treea5949b65bef2d2aa11e10d392091e0159409280d
parent13110e92ba809e2c8a247f827bb42fe6ec1a2ce9 (diff)
downloadmpv-f59cda84b1e52293e656fffea1529896d28b2d21.tar.bz2
mpv-f59cda84b1e52293e656fffea1529896d28b2d21.tar.xz
mp_fifo.c, osdep/: Include corresponding .h in .c files
-rw-r--r--mp_fifo.c1
-rw-r--r--osdep/getch2-os2.c1
-rw-r--r--osdep/getch2-win.c2
-rw-r--r--osdep/getch2.c1
-rw-r--r--osdep/mmap_anon.c2
-rw-r--r--osdep/shmem.c2
6 files changed, 9 insertions, 0 deletions
diff --git a/mp_fifo.c b/mp_fifo.c
index ebb9dccf75..14d0317243 100644
--- a/mp_fifo.c
+++ b/mp_fifo.c
@@ -2,6 +2,7 @@
#include "osdep/timer.h"
#include "input/input.h"
#include "input/mouse.h"
+#include "mp_fifo.h"
int key_fifo_size = 7;
diff --git a/osdep/getch2-os2.c b/osdep/getch2-os2.c
index 41e498d20d..58ea0c01bc 100644
--- a/osdep/getch2-os2.c
+++ b/osdep/getch2-os2.c
@@ -31,6 +31,7 @@
#include "keycodes.h"
#include "input/input.h"
#include "mp_fifo.h"
+#include "getch2.h"
#if defined( USE_LANGINFO ) && defined( USE_ICONV )
#include <locale.h>
diff --git a/osdep/getch2-win.c b/osdep/getch2-win.c
index 03c3d42cbf..a939784266 100644
--- a/osdep/getch2-win.c
+++ b/osdep/getch2-win.c
@@ -10,6 +10,8 @@
#include "keycodes.h"
#include "input/input.h"
#include "mp_fifo.h"
+#include "getch2.h"
+
// HACK, stdin is used as something else below
#undef stdin
diff --git a/osdep/getch2.c b/osdep/getch2.c
index 4a571033b1..663b2350f9 100644
--- a/osdep/getch2.c
+++ b/osdep/getch2.c
@@ -37,6 +37,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 f692e2b341..cd42c92b2f 100644
--- a/osdep/mmap_anon.c
+++ b/osdep/mmap_anon.c
@@ -9,6 +9,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 24e3310ccb..5c47bdf382 100644
--- a/osdep/shmem.c
+++ b/osdep/shmem.c
@@ -35,6 +35,8 @@
#include <sys/shm.h>
#endif
+#include "shmem.h"
+
#if defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
#define MAP_ANON MAP_ANONYMOUS
#endif