# HG changeset patch # User diego # Date 1262631515 0 # Node ID b4cbeff5153e766f099583b5319b70d9c3586a0a # Parent 51ee44af067b30e195e1c1cad6773dbef5ef2197 Add a few missing header #includes and #defines. diff -r 51ee44af067b -r b4cbeff5153e stream/cdd.h --- a/stream/cdd.h Mon Jan 04 15:14:21 2010 +0000 +++ b/stream/cdd.h Mon Jan 04 18:58:35 2010 +0000 @@ -9,6 +9,7 @@ #include #include #endif +#include typedef struct { char cddb_hello[1024]; diff -r 51ee44af067b -r b4cbeff5153e stream/dvbin.h --- a/stream/dvbin.h Mon Jan 04 15:14:21 2010 +0000 +++ b/stream/dvbin.h Mon Jan 04 18:58:35 2010 +0000 @@ -8,6 +8,7 @@ #ifndef MPLAYER_DVBIN_H #define MPLAYER_DVBIN_H +#include "config.h" #include "stream.h" #define SLOF (11700*1000UL) diff -r 51ee44af067b -r b4cbeff5153e stream/stream.h --- a/stream/stream.h Mon Jan 04 15:14:21 2010 +0000 +++ b/stream/stream.h Mon Jan 04 18:58:35 2010 +0000 @@ -1,6 +1,7 @@ #ifndef MPLAYER_STREAM_H #define MPLAYER_STREAM_H +#include "config.h" #include "mp_msg.h" #include #include diff -r 51ee44af067b -r b4cbeff5153e stream/stream_netstream.h --- a/stream/stream_netstream.h Mon Jan 04 15:14:21 2010 +0000 +++ b/stream/stream_netstream.h Mon Jan 04 18:58:35 2010 +0000 @@ -10,6 +10,7 @@ #ifndef MPLAYER_NETSTREAM_H #define MPLAYER_NETSTREAM_H +#include "config.h" #include #include #include diff -r 51ee44af067b -r b4cbeff5153e stream/stream_radio.h --- a/stream/stream_radio.h Mon Jan 04 15:14:21 2010 +0000 +++ b/stream/stream_radio.h Mon Jan 04 18:58:35 2010 +0000 @@ -1,6 +1,7 @@ #ifndef MPLAYER_STREAM_RADIO_H #define MPLAYER_STREAM_RADIO_H +#include "config.h" #include "stream.h" #define RADIO_CHANNEL_LOWER 1 diff -r 51ee44af067b -r b4cbeff5153e stream/vcd_read_darwin.h --- a/stream/vcd_read_darwin.h Mon Jan 04 15:14:21 2010 +0000 +++ b/stream/vcd_read_darwin.h Mon Jan 04 18:58:35 2010 +0000 @@ -1,6 +1,8 @@ #ifndef MPLAYER_VCD_READ_DARWIN_H #define MPLAYER_VCD_READ_DARWIN_H +#define _XOPEN_SOURCE 500 + #include #include #include diff -r 51ee44af067b -r b4cbeff5153e stream/vcd_read_fbsd.h --- a/stream/vcd_read_fbsd.h Mon Jan 04 15:14:21 2010 +0000 +++ b/stream/vcd_read_fbsd.h Mon Jan 04 18:58:35 2010 +0000 @@ -1,10 +1,14 @@ #ifndef MPLAYER_VCD_READ_FBSD_H #define MPLAYER_VCD_READ_FBSD_H +#define _XOPEN_SOURCE 500 + #include #include +#include #include "libavutil/intreadwrite.h" #include +#include #if defined(__NetBSD__) || defined(__OpenBSD__) #define VCD_NETBSD 1 #endif diff -r 51ee44af067b -r b4cbeff5153e stream/vcd_read_win32.h --- a/stream/vcd_read_win32.h Mon Jan 04 15:14:21 2010 +0000 +++ b/stream/vcd_read_win32.h Mon Jan 04 18:58:35 2010 +0000 @@ -1,6 +1,9 @@ #ifndef MPLAYER_VCD_READ_WIN32_H #define MPLAYER_VCD_READ_WIN32_H +#include +#include +#include #include #include "mp_msg.h"