From 87281a7d6aed2c6292f152206dc12c1850be7eaa Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 10 Mar 2008 19:28:42 +0000 Subject: Add missing header #includes to fix 'make checkheaders'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26216 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/cache2.h | 2 ++ stream/http.h | 2 ++ stream/netstream.h | 8 ++++++++ stream/pvr.h | 1 + stream/stream_dvd.h | 2 ++ stream/stream_dvd_common.h | 3 +++ stream/stream_dvdnav.h | 3 +++ stream/stream_radio.h | 2 ++ stream/tvi_def.h | 2 ++ stream/udp.h | 2 ++ stream/vcd_read.h | 6 ++++++ stream/vcd_read_darwin.h | 4 ++++ stream/vcd_read_fbsd.h | 1 + stream/vcd_read_win32.h | 1 + 14 files changed, 39 insertions(+) diff --git a/stream/cache2.h b/stream/cache2.h index 99f0378d75..f61865f419 100644 --- a/stream/cache2.h +++ b/stream/cache2.h @@ -1,6 +1,8 @@ #ifndef MPLAYER_CACHE2_H #define MPLAYER_CACHE2_H +#include "stream.h" + extern void cache_uninit(stream_t *s); #endif /* MPLAYER_CACHE2_H */ diff --git a/stream/http.h b/stream/http.h index 0cb3752e11..345dd5bfb9 100644 --- a/stream/http.h +++ b/stream/http.h @@ -7,6 +7,8 @@ #ifndef MPLAYER_HTTP_H #define MPLAYER_HTTP_H +#include + typedef struct HTTP_field_type { char *field_name; struct HTTP_field_type *next; diff --git a/stream/netstream.h b/stream/netstream.h index e092ef126c..4326a9d3e4 100644 --- a/stream/netstream.h +++ b/stream/netstream.h @@ -10,6 +10,14 @@ #ifndef MPLAYER_NETSTREAM_H #define MPLAYER_NETSTREAM_H +#include +#include +#include +#include +#include +#include "mp_msg.h" +#include "mpbswap.h" + typedef struct mp_net_stream_packet_st { uint16_t len; uint8_t cmd; diff --git a/stream/pvr.h b/stream/pvr.h index f358e89018..f7a14df6ba 100644 --- a/stream/pvr.h +++ b/stream/pvr.h @@ -24,6 +24,7 @@ #ifndef MPLAYER_PVR_H #define MPLAYER_PVR_H +#include "stream.h" #include "tv.h" /** diff --git a/stream/stream_dvd.h b/stream/stream_dvd.h index de3661c564..84ab1baaa1 100644 --- a/stream/stream_dvd.h +++ b/stream/stream_dvd.h @@ -1,6 +1,7 @@ #ifndef MPLAYER_STREAM_DVD_H #define MPLAYER_STREAM_DVD_H +#include #ifdef USE_DVDREAD_INTERNAL #include "dvdread/dvd_reader.h" #include "dvdread/ifo_types.h" @@ -12,6 +13,7 @@ #include #include #endif +#include "stream.h" typedef struct { dvd_reader_t *dvd; diff --git a/stream/stream_dvd_common.h b/stream/stream_dvd_common.h index b1e64172e5..9838f612fc 100644 --- a/stream/stream_dvd_common.h +++ b/stream/stream_dvd_common.h @@ -1,6 +1,9 @@ #ifndef MPLAYER_STREAM_DVD_COMMON_H #define MPLAYER_STREAM_DVD_COMMON_H +#include +#include + int mp_dvdtimetomsec(dvd_time_t *dt); #endif /* MPLAYER_STREAM_DVD_COMMON_H */ diff --git a/stream/stream_dvdnav.h b/stream/stream_dvdnav.h index 4b9d71e6d8..ddd5700e16 100644 --- a/stream/stream_dvdnav.h +++ b/stream/stream_dvdnav.h @@ -1,6 +1,9 @@ #ifndef MPLAYER_STREAM_DVDNAV_H #define MPLAYER_STREAM_DVDNAV_H +#include +#include "stream.h" + typedef struct { int event; /* event number fromd dvdnav_events.h */ void * details; /* event details */ diff --git a/stream/stream_radio.h b/stream/stream_radio.h index 726de124ac..3a258d9085 100644 --- a/stream/stream_radio.h +++ b/stream/stream_radio.h @@ -1,6 +1,8 @@ #ifndef MPLAYER_STREAM_RADIO_H #define MPLAYER_STREAM_RADIO_H +#include "stream.h" + #define RADIO_CHANNEL_LOWER 1 #define RADIO_CHANNEL_HIGHER 2 diff --git a/stream/tvi_def.h b/stream/tvi_def.h index d12b8fbc34..7b664a15b9 100644 --- a/stream/tvi_def.h +++ b/stream/tvi_def.h @@ -3,6 +3,8 @@ #include /* malloc */ #include /* memset */ +#include "libmpcodecs/img_format.h" +#include "tv.h" static int init(priv_t *priv); static int uninit(priv_t *priv); diff --git a/stream/udp.h b/stream/udp.h index 6af6f6817d..56905e98b5 100644 --- a/stream/udp.h +++ b/stream/udp.h @@ -20,6 +20,8 @@ #ifndef MPLAYER_UDP_H #define MPLAYER_UDP_H +#include "url.h" + int udp_open_socket (URL_t *url); #endif /* MPLAYER_UDP_H */ diff --git a/stream/vcd_read.h b/stream/vcd_read.h index cf876d98e4..9cf46fce25 100644 --- a/stream/vcd_read.h +++ b/stream/vcd_read.h @@ -1,6 +1,12 @@ #ifndef MPLAYER_VCD_READ_H #define MPLAYER_VCD_READ_H +#include +#include +#include +#include +#include "mp_msg.h" +#include "stream.h" #include "libavutil/intreadwrite.h" //=================== VideoCD ========================== #if defined(linux) || defined(sun) || defined(__bsdi__) diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h index ca9eed4f62..1aaeaf457a 100644 --- a/stream/vcd_read_darwin.h +++ b/stream/vcd_read_darwin.h @@ -1,6 +1,9 @@ #ifndef MPLAYER_VCD_READ_DARWIN_H #define MPLAYER_VCD_READ_DARWIN_H +#include +#include +#include #include #include #include @@ -8,6 +11,7 @@ #include #include #include "mpbswap.h" +#include "mp_msg.h" //=================== VideoCD ========================== #define CDROM_LEADOUT 0xAA diff --git a/stream/vcd_read_fbsd.h b/stream/vcd_read_fbsd.h index da9477a7cb..132b6b2994 100644 --- a/stream/vcd_read_fbsd.h +++ b/stream/vcd_read_fbsd.h @@ -17,6 +17,7 @@ #define TOCADDR(te) ((te).entry.addr) #define READ_TOC CDIOREADTOCENTRY #endif +#include "mp_msg.h" //=================== VideoCD ========================== #define CDROM_LEADOUT 0xAA diff --git a/stream/vcd_read_win32.h b/stream/vcd_read_win32.h index 86bfbf4fa4..1d8adf20c3 100644 --- a/stream/vcd_read_win32.h +++ b/stream/vcd_read_win32.h @@ -2,6 +2,7 @@ #define MPLAYER_VCD_READ_WIN32_H #include +#include "mp_msg.h" typedef struct mp_vcd_priv_st mp_vcd_priv_t; -- cgit v1.2.3