diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/cdd.h | 1 | ||||
-rw-r--r-- | stream/dvbin.h | 1 | ||||
-rw-r--r-- | stream/stream.h | 1 | ||||
-rw-r--r-- | stream/stream_netstream.h | 1 | ||||
-rw-r--r-- | stream/stream_radio.h | 1 | ||||
-rw-r--r-- | stream/vcd_read_darwin.h | 2 | ||||
-rw-r--r-- | stream/vcd_read_fbsd.h | 4 | ||||
-rw-r--r-- | stream/vcd_read_win32.h | 3 |
8 files changed, 14 insertions, 0 deletions
diff --git a/stream/cdd.h b/stream/cdd.h index 97c039b3d0..9d2ee4d9d0 100644 --- a/stream/cdd.h +++ b/stream/cdd.h @@ -9,6 +9,7 @@ #include <cdio/cdda.h> #include <cdio/paranoia.h> #endif +#include <sys/types.h> typedef struct { char cddb_hello[1024]; diff --git a/stream/dvbin.h b/stream/dvbin.h index dcb22ce238..18a37d9522 100644 --- a/stream/dvbin.h +++ b/stream/dvbin.h @@ -8,6 +8,7 @@ #ifndef MPLAYER_DVBIN_H #define MPLAYER_DVBIN_H +#include "config.h" #include "stream.h" #define SLOF (11700*1000UL) diff --git a/stream/stream.h b/stream/stream.h index 4da8a1ae43..1270553a00 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -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> diff --git a/stream/stream_netstream.h b/stream/stream_netstream.h index 52e5cf211e..43d42a0a32 100644 --- a/stream/stream_netstream.h +++ b/stream/stream_netstream.h @@ -10,6 +10,7 @@ #ifndef MPLAYER_NETSTREAM_H #define MPLAYER_NETSTREAM_H +#include "config.h" #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/stream/stream_radio.h b/stream/stream_radio.h index e77f4aa05e..c2de25a5aa 100644 --- a/stream/stream_radio.h +++ b/stream/stream_radio.h @@ -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 diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h index d144b5bc69..e87f46db5a 100644 --- a/stream/vcd_read_darwin.h +++ b/stream/vcd_read_darwin.h @@ -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> diff --git a/stream/vcd_read_fbsd.h b/stream/vcd_read_fbsd.h index 132b6b2994..01e51f7da5 100644 --- a/stream/vcd_read_fbsd.h +++ b/stream/vcd_read_fbsd.h @@ -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 diff --git a/stream/vcd_read_win32.h b/stream/vcd_read_win32.h index 1d8adf20c3..0df0320bb3 100644 --- a/stream/vcd_read_win32.h +++ b/stream/vcd_read_win32.h @@ -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" |