# HG changeset patch # User diego # Date 1266332583 0 # Node ID 321e9ea69b9f9ffc5550b629f5bfa77f07fdcc9e # Parent b2829d4f2de4db38d9358e2719366b00fffe51bd #include corresponding .h files in .c files. This ensures that function declarations in both files always match. diff -r b2829d4f2de4 -r 321e9ea69b9f av_opts.c --- a/av_opts.c Tue Feb 16 14:52:59 2010 +0000 +++ b/av_opts.c Tue Feb 16 15:03:03 2010 +0000 @@ -22,6 +22,7 @@ #include #include #include "libavcodec/opt.h" +#include "av_opts.h" int parse_avopts(void *v, char *str){ char *start; diff -r b2829d4f2de4 -r 321e9ea69b9f libmpcodecs/ae_lame.c --- a/libmpcodecs/ae_lame.c Tue Feb 16 14:52:59 2010 +0000 +++ b/libmpcodecs/ae_lame.c Tue Feb 16 15:03:03 2010 +0000 @@ -29,6 +29,7 @@ #include "stream/stream.h" #include "libmpdemux/muxer.h" #include "help_mp.h" +#include "ae_lame.h" #include "ae_pcm.h" #include "libaf/af_format.h" #include "libmpdemux/mp3_hdr.h" diff -r b2829d4f2de4 -r 321e9ea69b9f libmpdemux/mp3_hdr.c --- a/libmpdemux/mp3_hdr.c Tue Feb 16 14:52:59 2010 +0000 +++ b/libmpdemux/mp3_hdr.c Tue Feb 16 15:03:03 2010 +0000 @@ -20,6 +20,7 @@ #include "config.h" #include "mp_msg.h" +#include "mp3_hdr.h" //----------------------- mp3 audio frame header parser ----------------------- diff -r b2829d4f2de4 -r 321e9ea69b9f mp_fifo.c --- a/mp_fifo.c Tue Feb 16 14:52:59 2010 +0000 +++ b/mp_fifo.c Tue Feb 16 15:03:03 2010 +0000 @@ -20,7 +20,7 @@ #include "osdep/timer.h" #include "input/input.h" #include "input/mouse.h" - +#include "mp_fifo.h" int key_fifo_size = 7; static int *key_fifo_data = NULL; diff -r b2829d4f2de4 -r 321e9ea69b9f osdep/getch2.c --- a/osdep/getch2.c Tue Feb 16 14:52:59 2010 +0000 +++ b/osdep/getch2.c Tue Feb 16 15:03:03 2010 +0000 @@ -58,6 +58,7 @@ #include "mp_fifo.h" #include "keycodes.h" +#include "getch2.h" #ifdef HAVE_TERMIOS static struct termios tio_orig; diff -r b2829d4f2de4 -r 321e9ea69b9f osdep/mmap_anon.c --- a/osdep/mmap_anon.c Tue Feb 16 14:52:59 2010 +0000 +++ b/osdep/mmap_anon.c Tue Feb 16 15:03:03 2010 +0000 @@ -27,6 +27,8 @@ #include #include +#include "mmap_anon.h" + #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) #define MAP_ANONYMOUS MAP_ANON #endif diff -r b2829d4f2de4 -r 321e9ea69b9f osdep/shmem.c --- a/osdep/shmem.c Tue Feb 16 14:52:59 2010 +0000 +++ b/osdep/shmem.c Tue Feb 16 15:03:03 2010 +0000 @@ -40,6 +40,7 @@ #include #include "mp_msg.h" +#include "shmem.h" #ifdef AIX #include diff -r b2829d4f2de4 -r 321e9ea69b9f osdep/timer-linux.c --- a/osdep/timer-linux.c Tue Feb 16 14:52:59 2010 +0000 +++ b/osdep/timer-linux.c Tue Feb 16 15:03:03 2010 +0000 @@ -27,6 +27,7 @@ #include #include #include "config.h" +#include "timer.h" const char *timer_name = #ifdef HAVE_NANOSLEEP