summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJustin Kim <justin.kim@collabora.com>2018-01-02 20:51:25 +0900
committerTim-Philipp Müller <tim@centricular.com>2018-01-03 10:41:45 +0000
commit1da40cdc0f9b053e2dc1ba9594d1f8ba0de312e5 (patch)
treef8073499dc8139924265d920b9d26fbabf3b7d7b /ext
parent7ecb3dc91794984723b90cb29b4732aa671dd848 (diff)
srt: Remove platform dependent socket headers
SRT modules entrust `gnetworking.h` with finding right headers for the platforms. https://bugzilla.gnome.org/show_bug.cgi?id=792123
Diffstat (limited to 'ext')
-rw-r--r--ext/srt/gstsrt.h1
-rw-r--r--ext/srt/gstsrtbasesink.c2
-rw-r--r--ext/srt/gstsrtbasesrc.c2
-rw-r--r--ext/srt/gstsrtclientsrc.c2
-rw-r--r--ext/srt/gstsrtserversink.h1
-rw-r--r--ext/srt/gstsrtserversrc.h1
6 files changed, 1 insertions, 8 deletions
diff --git a/ext/srt/gstsrt.h b/ext/srt/gstsrt.h
index 2777cae2d..6fe5680bc 100644
--- a/ext/srt/gstsrt.h
+++ b/ext/srt/gstsrt.h
@@ -23,6 +23,7 @@
#include <gst/gst.h>
#include <gio/gio.h>
+#include <gio/gnetworking.h>
#include <srt/srt.h>
diff --git a/ext/srt/gstsrtbasesink.c b/ext/srt/gstsrtbasesink.c
index 3f60020bb..3858f014e 100644
--- a/ext/srt/gstsrtbasesink.c
+++ b/ext/srt/gstsrtbasesink.c
@@ -26,8 +26,6 @@
#include "gstsrt.h"
#include <srt/srt.h>
-#include <netinet/in.h>
-
#define SRT_DEFAULT_POLL_TIMEOUT -1
#define GST_CAT_DEFAULT gst_debug_srt_base_sink
diff --git a/ext/srt/gstsrtbasesrc.c b/ext/srt/gstsrtbasesrc.c
index 5558cd145..29ab55caf 100644
--- a/ext/srt/gstsrtbasesrc.c
+++ b/ext/srt/gstsrtbasesrc.c
@@ -27,8 +27,6 @@
#include <srt/srt.h>
#include <gio/gio.h>
-#include <netinet/in.h>
-
#define GST_CAT_DEFAULT gst_debug_srt_base_src
GST_DEBUG_CATEGORY (GST_CAT_DEFAULT);
diff --git a/ext/srt/gstsrtclientsrc.c b/ext/srt/gstsrtclientsrc.c
index a57b4faeb..a0d2e7d51 100644
--- a/ext/srt/gstsrtclientsrc.c
+++ b/ext/srt/gstsrtclientsrc.c
@@ -49,8 +49,6 @@
#include "gstsrt.h"
-#include <netinet/in.h>
-
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
diff --git a/ext/srt/gstsrtserversink.h b/ext/srt/gstsrtserversink.h
index 10eb52baf..8a11f8833 100644
--- a/ext/srt/gstsrtserversink.h
+++ b/ext/srt/gstsrtserversink.h
@@ -22,7 +22,6 @@
#define __GST_SRT_SERVER_SINK_H__
#include "gstsrtbasesink.h"
-#include <sys/socket.h>
G_BEGIN_DECLS
diff --git a/ext/srt/gstsrtserversrc.h b/ext/srt/gstsrtserversrc.h
index 098b5cdbf..d7c22c555 100644
--- a/ext/srt/gstsrtserversrc.h
+++ b/ext/srt/gstsrtserversrc.h
@@ -22,7 +22,6 @@
#define __GST_SRT_SERVER_SRC_H__
#include "gstsrtbasesrc.h"
-#include <sys/socket.h>
G_BEGIN_DECLS