SRT modules entrust `gnetworking.h` with finding right headers
for the platforms.
https://bugzilla.gnome.org/show_bug.cgi?id=792123
#include <gst/gst.h>
#include <gio/gio.h>
+#include <gio/gnetworking.h>
#include <srt/srt.h>
#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
#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);
#include "gstsrt.h"
-#include <netinet/in.h>
-
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
#define __GST_SRT_SERVER_SINK_H__
#include "gstsrtbasesink.h"
-#include <sys/socket.h>
G_BEGIN_DECLS
#define __GST_SRT_SERVER_SRC_H__
#include "gstsrtbasesrc.h"
-#include <sys/socket.h>
G_BEGIN_DECLS