[MPlayer-cvslog] r30207 - in trunk/stream: cdd.h dvbin.h stream.h stream_netstream.h stream_radio.h vcd_read_darwin.h vcd_read_fbsd.h vcd_read_win32.h

diego subversion at mplayerhq.hu
Mon Jan 4 19:58:35 CET 2010


Author: diego
Date: Mon Jan  4 19:58:35 2010
New Revision: 30207

Log:
Add a few missing header #includes and #defines.

Modified:
   trunk/stream/cdd.h
   trunk/stream/dvbin.h
   trunk/stream/stream.h
   trunk/stream/stream_netstream.h
   trunk/stream/stream_radio.h
   trunk/stream/vcd_read_darwin.h
   trunk/stream/vcd_read_fbsd.h
   trunk/stream/vcd_read_win32.h

Modified: trunk/stream/cdd.h
==============================================================================
--- trunk/stream/cdd.h	Mon Jan  4 16:14:21 2010	(r30206)
+++ trunk/stream/cdd.h	Mon Jan  4 19:58:35 2010	(r30207)
@@ -9,6 +9,7 @@
 #include <cdio/cdda.h>
 #include <cdio/paranoia.h>
 #endif
+#include <sys/types.h>
 
 typedef struct {
 	char cddb_hello[1024];

Modified: trunk/stream/dvbin.h
==============================================================================
--- trunk/stream/dvbin.h	Mon Jan  4 16:14:21 2010	(r30206)
+++ trunk/stream/dvbin.h	Mon Jan  4 19:58:35 2010	(r30207)
@@ -8,6 +8,7 @@
 #ifndef MPLAYER_DVBIN_H
 #define MPLAYER_DVBIN_H
 
+#include "config.h"
 #include "stream.h"
 
 #define SLOF (11700*1000UL)

Modified: trunk/stream/stream.h
==============================================================================
--- trunk/stream/stream.h	Mon Jan  4 16:14:21 2010	(r30206)
+++ trunk/stream/stream.h	Mon Jan  4 19:58:35 2010	(r30207)
@@ -1,6 +1,7 @@
 #ifndef MPLAYER_STREAM_H
 #define MPLAYER_STREAM_H
 
+#include "config.h"
 #include "mp_msg.h"
 #include <string.h>
 #include <inttypes.h>

Modified: trunk/stream/stream_netstream.h
==============================================================================
--- trunk/stream/stream_netstream.h	Mon Jan  4 16:14:21 2010	(r30206)
+++ trunk/stream/stream_netstream.h	Mon Jan  4 19:58:35 2010	(r30207)
@@ -10,6 +10,7 @@
 #ifndef MPLAYER_NETSTREAM_H
 #define MPLAYER_NETSTREAM_H
 
+#include "config.h"
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>

Modified: trunk/stream/stream_radio.h
==============================================================================
--- trunk/stream/stream_radio.h	Mon Jan  4 16:14:21 2010	(r30206)
+++ trunk/stream/stream_radio.h	Mon Jan  4 19:58:35 2010	(r30207)
@@ -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

Modified: trunk/stream/vcd_read_darwin.h
==============================================================================
--- trunk/stream/vcd_read_darwin.h	Mon Jan  4 16:14:21 2010	(r30206)
+++ trunk/stream/vcd_read_darwin.h	Mon Jan  4 19:58:35 2010	(r30207)
@@ -1,6 +1,8 @@
 #ifndef MPLAYER_VCD_READ_DARWIN_H
 #define MPLAYER_VCD_READ_DARWIN_H
 
+#define _XOPEN_SOURCE 500
+
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>

Modified: trunk/stream/vcd_read_fbsd.h
==============================================================================
--- trunk/stream/vcd_read_fbsd.h	Mon Jan  4 16:14:21 2010	(r30206)
+++ trunk/stream/vcd_read_fbsd.h	Mon Jan  4 19:58:35 2010	(r30207)
@@ -1,10 +1,14 @@
 #ifndef MPLAYER_VCD_READ_FBSD_H
 #define MPLAYER_VCD_READ_FBSD_H
 
+#define _XOPEN_SOURCE 500
+
 #include <sys/types.h>
 #include <inttypes.h>
+#include <unistd.h>
 #include "libavutil/intreadwrite.h"
 #include <sys/cdio.h>
+#include <sys/ioctl.h>
 #if defined(__NetBSD__) || defined(__OpenBSD__)
 #define VCD_NETBSD 1
 #endif

Modified: trunk/stream/vcd_read_win32.h
==============================================================================
--- trunk/stream/vcd_read_win32.h	Mon Jan  4 16:14:21 2010	(r30206)
+++ trunk/stream/vcd_read_win32.h	Mon Jan  4 19:58:35 2010	(r30207)
@@ -1,6 +1,9 @@
 #ifndef MPLAYER_VCD_READ_WIN32_H
 #define MPLAYER_VCD_READ_WIN32_H
 
+#include <stddef.h>
+#include <stdlib.h>
+#include <string.h>
 #include <ddk/ntddcdrm.h>
 #include "mp_msg.h"
 


More information about the MPlayer-cvslog mailing list