From 9a72198248e0a29c8bac1f6735123e7954992fef Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 28 Aug 2008 17:16:51 +0000 Subject: gst/dccp/: Fix compilation on Solaris by including filio.h as needed. Original commit message from CVS: * gst/dccp/gstdccp.c: * gst/dccp/gstdccpclientsrc.c: Fix compilation on Solaris by including filio.h as needed. * gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc: * gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll2.inc: Fix compilation with Forte - apparently it hates concatenating a macro argument that starts with an underscore?? --- gst/dccp/gstdccp.c | 8 ++++++++ gst/dccp/gstdccpclientsrc.c | 5 +++++ 2 files changed, 13 insertions(+) (limited to 'gst/dccp') diff --git a/gst/dccp/gstdccp.c b/gst/dccp/gstdccp.c index 35f374324..8a4f02df6 100644 --- a/gst/dccp/gstdccp.c +++ b/gst/dccp/gstdccp.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "gstdccp.h" #include #include @@ -27,6 +31,10 @@ #include #include +#ifdef HAVE_FIONREAD_IN_SYS_FILIO +#include +#endif + /* Prototypes and definitions for private functions and not exported via gstdccp.h */ gint gst_dccp_socket_write (int socket, const void *buf, size_t count, int packet_size); diff --git a/gst/dccp/gstdccpclientsrc.c b/gst/dccp/gstdccpclientsrc.c index bd42bf66e..f82bd1708 100644 --- a/gst/dccp/gstdccpclientsrc.c +++ b/gst/dccp/gstdccpclientsrc.c @@ -56,6 +56,11 @@ #include #include +#include +#ifdef HAVE_FIONREAD_IN_SYS_FILIO +#include +#endif + #define DCCP_DEFAULT_CAPS NULL /* signals */ -- cgit v1.2.1