diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/input/dvb/dmx.h | 6 | ||||
-rw-r--r-- | src/input/dvb/frontend.h | 6 | ||||
-rw-r--r-- | src/input/input_dvb.c | 3 |
3 files changed, 15 insertions, 0 deletions
diff --git a/src/input/dvb/dmx.h b/src/input/dvb/dmx.h index 1c0f990c7..51d3c48cd 100644 --- a/src/input/dvb/dmx.h +++ b/src/input/dvb/dmx.h @@ -27,8 +27,14 @@ #ifdef __KERNEL__ #include <linux/types.h> #else +#if HAVE_INTTYPES_H +#include <inttypes.h> +#else +#if HAVE_STDINT_H #include <stdint.h> #endif +#endif +#endif #define DMX_FILTER_SIZE 16 diff --git a/src/input/dvb/frontend.h b/src/input/dvb/frontend.h index 550d3b42c..937469ac1 100644 --- a/src/input/dvb/frontend.h +++ b/src/input/dvb/frontend.h @@ -29,8 +29,14 @@ #ifdef __KERNEL__ #include <linux/types.h> #else +#if HAVE_INTTYPE_H +#include <inttypes.h> +#else +#if HAVE_STDINT_H #include <stdint.h> #endif +#endif +#endif typedef enum { diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index 7dd052e54..4233399b7 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -36,6 +36,9 @@ #include <errno.h> #include <sys/time.h> #include <sys/ioctl.h> +#ifdef __sun +#include <sys/ioccom.h> +#endif #include <sys/poll.h> /* These will eventually be #include <linux/dvb/...> */ |