From f59cda84b1e52293e656fffea1529896d28b2d21 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 29 Apr 2008 14:52:45 +0300 Subject: mp_fifo.c, osdep/: Include corresponding .h in .c files --- mp_fifo.c | 1 + osdep/getch2-os2.c | 1 + osdep/getch2-win.c | 2 ++ osdep/getch2.c | 1 + osdep/mmap_anon.c | 2 ++ osdep/shmem.c | 2 ++ 6 files changed, 9 insertions(+) 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 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 #include +#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 #endif +#include "shmem.h" + #if defined(MAP_ANONYMOUS) && !defined(MAP_ANON) #define MAP_ANON MAP_ANONYMOUS #endif -- cgit v1.2.3