summaryrefslogtreecommitdiffstats
path: root/gst/dccp/gstdccp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/dccp/gstdccp.c')
-rw-r--r--gst/dccp/gstdccp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/dccp/gstdccp.c b/gst/dccp/gstdccp.c
index 35f37432..8a4f02df 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 <sys/types.h>
#include <sys/socket.h>
@@ -27,6 +31,10 @@
#include <sys/ioctl.h>
#include <string.h>
+#ifdef HAVE_FIONREAD_IN_SYS_FILIO
+#include <sys/filio.h>
+#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);