changeset 30165:b4cbeff5153e

Add a few missing header #includes and #defines.
author diego
date Mon, 04 Jan 2010 18:58:35 +0000
parents 51ee44af067b
children 1d39794263eb
files stream/cdd.h stream/dvbin.h stream/stream.h stream/stream_netstream.h stream/stream_radio.h stream/vcd_read_darwin.h stream/vcd_read_fbsd.h stream/vcd_read_win32.h
diffstat 8 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <cdio/cdda.h>
 #include <cdio/paranoia.h>
 #endif
+#include <sys/types.h>
 
 typedef struct {
 	char cddb_hello[1024];
--- 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)
--- 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 <string.h>
 #include <inttypes.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 <stdint.h>
 #include <stdlib.h>
 #include <string.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
--- 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 <stdlib.h>
 #include <string.h>
 #include <errno.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 <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
--- 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 <stddef.h>
+#include <stdlib.h>
+#include <string.h>
 #include <ddk/ntddcdrm.h>
 #include "mp_msg.h"