[MPlayer-cvslog] r26216 - in trunk/stream: cache2.h http.h netstream.h pvr.h stream_dvd.h stream_dvd_common.h stream_dvdnav.h stream_radio.h tvi_def.h udp.h vcd_read.h vcd_read_darwin.h vcd_read_fbsd.h vcd_read_win32.h

diego subversion at mplayerhq.hu
Mon Mar 10 20:28:42 CET 2008


Author: diego
Date: Mon Mar 10 20:28:42 2008
New Revision: 26216

Log:
Add missing header #includes to fix 'make checkheaders'.


Modified:
   trunk/stream/cache2.h
   trunk/stream/http.h
   trunk/stream/netstream.h
   trunk/stream/pvr.h
   trunk/stream/stream_dvd.h
   trunk/stream/stream_dvd_common.h
   trunk/stream/stream_dvdnav.h
   trunk/stream/stream_radio.h
   trunk/stream/tvi_def.h
   trunk/stream/udp.h
   trunk/stream/vcd_read.h
   trunk/stream/vcd_read_darwin.h
   trunk/stream/vcd_read_fbsd.h
   trunk/stream/vcd_read_win32.h

Modified: trunk/stream/cache2.h
==============================================================================
--- trunk/stream/cache2.h	(original)
+++ trunk/stream/cache2.h	Mon Mar 10 20:28:42 2008
@@ -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 */

Modified: trunk/stream/http.h
==============================================================================
--- trunk/stream/http.h	(original)
+++ trunk/stream/http.h	Mon Mar 10 20:28:42 2008
@@ -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;

Modified: trunk/stream/netstream.h
==============================================================================
--- trunk/stream/netstream.h	(original)
+++ trunk/stream/netstream.h	Mon Mar 10 20:28:42 2008
@@ -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;

Modified: trunk/stream/pvr.h
==============================================================================
--- trunk/stream/pvr.h	(original)
+++ trunk/stream/pvr.h	Mon Mar 10 20:28:42 2008
@@ -24,6 +24,7 @@
 #ifndef MPLAYER_PVR_H
 #define MPLAYER_PVR_H
 
+#include "stream.h"
 #include "tv.h"
 
 /**

Modified: trunk/stream/stream_dvd.h
==============================================================================
--- trunk/stream/stream_dvd.h	(original)
+++ trunk/stream/stream_dvd.h	Mon Mar 10 20:28:42 2008
@@ -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;

Modified: trunk/stream/stream_dvd_common.h
==============================================================================
--- trunk/stream/stream_dvd_common.h	(original)
+++ trunk/stream/stream_dvd_common.h	Mon Mar 10 20:28:42 2008
@@ -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 */

Modified: trunk/stream/stream_dvdnav.h
==============================================================================
--- trunk/stream/stream_dvdnav.h	(original)
+++ trunk/stream/stream_dvdnav.h	Mon Mar 10 20:28:42 2008
@@ -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 */

Modified: trunk/stream/stream_radio.h
==============================================================================
--- trunk/stream/stream_radio.h	(original)
+++ trunk/stream/stream_radio.h	Mon Mar 10 20:28:42 2008
@@ -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
 

Modified: trunk/stream/tvi_def.h
==============================================================================
--- trunk/stream/tvi_def.h	(original)
+++ trunk/stream/tvi_def.h	Mon Mar 10 20:28:42 2008
@@ -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);

Modified: trunk/stream/udp.h
==============================================================================
--- trunk/stream/udp.h	(original)
+++ trunk/stream/udp.h	Mon Mar 10 20:28:42 2008
@@ -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 */

Modified: trunk/stream/vcd_read.h
==============================================================================
--- trunk/stream/vcd_read.h	(original)
+++ trunk/stream/vcd_read.h	Mon Mar 10 20:28:42 2008
@@ -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__)

Modified: trunk/stream/vcd_read_darwin.h
==============================================================================
--- trunk/stream/vcd_read_darwin.h	(original)
+++ trunk/stream/vcd_read_darwin.h	Mon Mar 10 20:28:42 2008
@@ -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

Modified: trunk/stream/vcd_read_fbsd.h
==============================================================================
--- trunk/stream/vcd_read_fbsd.h	(original)
+++ trunk/stream/vcd_read_fbsd.h	Mon Mar 10 20:28:42 2008
@@ -17,6 +17,7 @@
 #define TOCADDR(te) ((te).entry.addr)
 #define READ_TOC CDIOREADTOCENTRY
 #endif
+#include "mp_msg.h"
 
 //=================== VideoCD ==========================
 #define	CDROM_LEADOUT	0xAA

Modified: trunk/stream/vcd_read_win32.h
==============================================================================
--- trunk/stream/vcd_read_win32.h	(original)
+++ trunk/stream/vcd_read_win32.h	Mon Mar 10 20:28:42 2008
@@ -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;
 



More information about the MPlayer-cvslog mailing list