From b7bd446fa803f25cc3aea4c0a9ca7e54181a43e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 9 Jan 2018 18:10:04 -0500 Subject: [PATCH] srt: Include srt.h inside object header Otherwise, newer GCC complains about now having sockaddr defined in the header. --- ext/srt/gstsrtserversrc.c | 1 - ext/srt/gstsrtserversrc.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/srt/gstsrtserversrc.c b/ext/srt/gstsrtserversrc.c index 271f4eb0b4..a44c2af325 100644 --- a/ext/srt/gstsrtserversrc.c +++ b/ext/srt/gstsrtserversrc.c @@ -41,7 +41,6 @@ #include "gstsrtserversrc.h" #include "gstsrt.h" -#include #include #define SRT_DEFAULT_POLL_TIMEOUT 100 diff --git a/ext/srt/gstsrtserversrc.h b/ext/srt/gstsrtserversrc.h index d7c22c555d..db4f01acd9 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 G_BEGIN_DECLS