changeset 26184:7ee4ae1648e6

Add missing header #includes to fix 'make checkheaders'.
author diego
date Mon, 10 Mar 2008 19:28:42 +0000
parents 4d54efbb35ec
children 35f930b141ad
files stream/cache2.h stream/http.h stream/netstream.h stream/pvr.h stream/stream_dvd.h stream/stream_dvd_common.h stream/stream_dvdnav.h stream/stream_radio.h stream/tvi_def.h stream/udp.h stream/vcd_read.h stream/vcd_read_darwin.h stream/vcd_read_fbsd.h stream/vcd_read_win32.h
diffstat 14 files changed, 39 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/cache2.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/cache2.h	Mon Mar 10 19:28:42 2008 +0000
@@ -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 */
--- a/stream/http.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/http.h	Mon Mar 10 19:28:42 2008 +0000
@@ -7,6 +7,8 @@
 #ifndef MPLAYER_HTTP_H
 #define MPLAYER_HTTP_H
 
+#include <sys/types.h>
+
 typedef struct HTTP_field_type {
 	char *field_name;
 	struct HTTP_field_type *next;
--- a/stream/netstream.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/netstream.h	Mon Mar 10 19:28:42 2008 +0000
@@ -10,6 +10,14 @@
 #ifndef MPLAYER_NETSTREAM_H
 #define MPLAYER_NETSTREAM_H
 
+#include <stdint.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+#include <sys/socket.h>
+#include "mp_msg.h"
+#include "mpbswap.h"
+
 typedef struct mp_net_stream_packet_st {
   uint16_t len;
   uint8_t cmd;
--- a/stream/pvr.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/pvr.h	Mon Mar 10 19:28:42 2008 +0000
@@ -24,6 +24,7 @@
 #ifndef MPLAYER_PVR_H
 #define MPLAYER_PVR_H
 
+#include "stream.h"
 #include "tv.h"
 
 /**
--- a/stream/stream_dvd.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/stream_dvd.h	Mon Mar 10 19:28:42 2008 +0000
@@ -1,6 +1,7 @@
 #ifndef MPLAYER_STREAM_DVD_H
 #define MPLAYER_STREAM_DVD_H
 
+#include <stdint.h>
 #ifdef USE_DVDREAD_INTERNAL
 #include "dvdread/dvd_reader.h"
 #include "dvdread/ifo_types.h"
@@ -12,6 +13,7 @@
 #include <dvdread/ifo_read.h>
 #include <dvdread/nav_read.h>
 #endif
+#include "stream.h"
 
 typedef struct {
   dvd_reader_t *dvd;
--- a/stream/stream_dvd_common.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/stream_dvd_common.h	Mon Mar 10 19:28:42 2008 +0000
@@ -1,6 +1,9 @@
 #ifndef MPLAYER_STREAM_DVD_COMMON_H
 #define MPLAYER_STREAM_DVD_COMMON_H
 
+#include <inttypes.h>
+#include <dvdread/ifo_types.h>
+
 int mp_dvdtimetomsec(dvd_time_t *dt);
 
 #endif /* MPLAYER_STREAM_DVD_COMMON_H */
--- a/stream/stream_dvdnav.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/stream_dvdnav.h	Mon Mar 10 19:28:42 2008 +0000
@@ -1,6 +1,9 @@
 #ifndef MPLAYER_STREAM_DVDNAV_H
 #define MPLAYER_STREAM_DVDNAV_H
 
+#include <stdint.h>
+#include "stream.h"
+
 typedef struct {
   int event;             /* event number fromd dvdnav_events.h */
   void * details;        /* event details */
--- a/stream/stream_radio.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/stream_radio.h	Mon Mar 10 19:28:42 2008 +0000
@@ -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
 
--- a/stream/tvi_def.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/tvi_def.h	Mon Mar 10 19:28:42 2008 +0000
@@ -3,6 +3,8 @@
 
 #include <stdlib.h> /* malloc */
 #include <string.h> /* memset */
+#include "libmpcodecs/img_format.h"
+#include "tv.h"
 
 static int init(priv_t *priv);
 static int uninit(priv_t *priv);
--- a/stream/udp.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/udp.h	Mon Mar 10 19:28:42 2008 +0000
@@ -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 */
--- a/stream/vcd_read.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/vcd_read.h	Mon Mar 10 19:28:42 2008 +0000
@@ -1,6 +1,12 @@
 #ifndef MPLAYER_VCD_READ_H
 #define MPLAYER_VCD_READ_H
 
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+#include <sys/ioctl.h>
+#include "mp_msg.h"
+#include "stream.h"
 #include "libavutil/intreadwrite.h"
 //=================== VideoCD ==========================
 #if	defined(linux) || defined(sun) || defined(__bsdi__)
--- a/stream/vcd_read_darwin.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/vcd_read_darwin.h	Mon Mar 10 19:28:42 2008 +0000
@@ -1,6 +1,9 @@
 #ifndef MPLAYER_VCD_READ_DARWIN_H
 #define MPLAYER_VCD_READ_DARWIN_H
 
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
 #include <sys/types.h>
 #include <CoreFoundation/CFBase.h>
 #include <IOKit/IOKitLib.h>
@@ -8,6 +11,7 @@
 #include <IOKit/storage/IOCDMedia.h>
 #include <IOKit/storage/IOCDMediaBSDClient.h>
 #include "mpbswap.h"
+#include "mp_msg.h"
 
 //=================== VideoCD ==========================
 #define	CDROM_LEADOUT	0xAA
--- a/stream/vcd_read_fbsd.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/vcd_read_fbsd.h	Mon Mar 10 19:28:42 2008 +0000
@@ -17,6 +17,7 @@
 #define TOCADDR(te) ((te).entry.addr)
 #define READ_TOC CDIOREADTOCENTRY
 #endif
+#include "mp_msg.h"
 
 //=================== VideoCD ==========================
 #define	CDROM_LEADOUT	0xAA
--- a/stream/vcd_read_win32.h	Mon Mar 10 19:28:18 2008 +0000
+++ b/stream/vcd_read_win32.h	Mon Mar 10 19:28:42 2008 +0000
@@ -2,6 +2,7 @@
 #define MPLAYER_VCD_READ_WIN32_H
 
 #include <ddk/ntddcdrm.h>
+#include "mp_msg.h"
 
 typedef struct mp_vcd_priv_st mp_vcd_priv_t;