summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2018-01-09 18:10:04 -0500
committerOlivier CrĂȘte <olivier.crete@collabora.com>2018-01-09 18:10:04 -0500
commitb7bd446fa803f25cc3aea4c0a9ca7e54181a43e1 (patch)
tree5f690f6be702b9627dcdec11c7bdced55837ff47 /ext
parent0c14a92c28744449cd32f6f2a34e956f2fad2a0d (diff)
srt: Include srt.h inside object header
Otherwise, newer GCC complains about now having sockaddr defined in the header.
Diffstat (limited to 'ext')
-rw-r--r--ext/srt/gstsrtserversrc.c1
-rw-r--r--ext/srt/gstsrtserversrc.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/ext/srt/gstsrtserversrc.c b/ext/srt/gstsrtserversrc.c
index 271f4eb0b..a44c2af32 100644
--- a/ext/srt/gstsrtserversrc.c
+++ b/ext/srt/gstsrtserversrc.c
@@ -41,7 +41,6 @@
#include "gstsrtserversrc.h"
#include "gstsrt.h"
-#include <srt/srt.h>
#include <gio/gio.h>
#define SRT_DEFAULT_POLL_TIMEOUT 100
diff --git a/ext/srt/gstsrtserversrc.h b/ext/srt/gstsrtserversrc.h
index d7c22c555..db4f01acd 100644
--- a/ext/srt/gstsrtserversrc.h
+++ b/ext/srt/gstsrtserversrc.h
@@ -22,6 +22,7 @@
#define __GST_SRT_SERVER_SRC_H__
#include "gstsrtbasesrc.h"
+#include <srt/srt.h>
G_BEGIN_DECLS