summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/cache2.h2
-rw-r--r--stream/http.h2
-rw-r--r--stream/netstream.h8
-rw-r--r--stream/pvr.h1
-rw-r--r--stream/stream_dvd.h2
-rw-r--r--stream/stream_dvd_common.h3
-rw-r--r--stream/stream_dvdnav.h3
-rw-r--r--stream/stream_radio.h2
-rw-r--r--stream/tvi_def.h2
-rw-r--r--stream/udp.h2
-rw-r--r--stream/vcd_read.h6
-rw-r--r--stream/vcd_read_darwin.h4
-rw-r--r--stream/vcd_read_fbsd.h1
-rw-r--r--stream/vcd_read_win32.h1
14 files changed, 39 insertions, 0 deletions
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 <sys/types.h>
+
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 <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;
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 <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;
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 <inttypes.h>
+#include <dvdread/ifo_types.h>
+
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 <stdint.h>
+#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 <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);
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 <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__)
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 <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
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 <ddk/ntddcdrm.h>
+#include "mp_msg.h"
typedef struct mp_vcd_priv_st mp_vcd_priv_t;