summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2003-01-15 16:08:44 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2003-01-15 16:08:44 +0000
commit0512a0d2a58e4ad611af1a50d10da4117db14b54 (patch)
treec434d4b7009342b623040cb9a421b2d134a94157
parent817dc65373b33a704dd2ea2309c8599096627f68 (diff)
downloadxine-lib-0512a0d2a58e4ad611af1a50d10da4117db14b54.tar.gz
xine-lib-0512a0d2a58e4ad611af1a50d10da4117db14b54.tar.bz2
- Must include <sys/ioccom.h> on solaris to get the _IOC..() macros for
ioctl command codes - Must include <inttypes.h> on solaris, there is no <stdint.h> CVS patchset: 3927 CVS date: 2003/01/15 16:08:44
-rw-r--r--src/input/dvb/dmx.h6
-rw-r--r--src/input/dvb/frontend.h6
-rw-r--r--src/input/input_dvb.c3
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/...> */