From 0512a0d2a58e4ad611af1a50d10da4117db14b54 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Wed, 15 Jan 2003 16:08:44 +0000 Subject: - Must include on solaris to get the _IOC..() macros for ioctl command codes - Must include on solaris, there is no CVS patchset: 3927 CVS date: 2003/01/15 16:08:44 --- src/input/dvb/dmx.h | 6 ++++++ src/input/dvb/frontend.h | 6 ++++++ src/input/input_dvb.c | 3 +++ 3 files changed, 15 insertions(+) (limited to 'src') 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 #else +#if HAVE_INTTYPES_H +#include +#else +#if HAVE_STDINT_H #include #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 #else +#if HAVE_INTTYPE_H +#include +#else +#if HAVE_STDINT_H #include #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 #include #include +#ifdef __sun +#include +#endif #include /* These will eventually be #include */ -- cgit v1.2.3