srt: Include srt.h inside object header

Otherwise, newer GCC complains about now having sockaddr defined in
the header.
This commit is contained in:
Olivier Crête 2018-01-09 18:10:04 -05:00
parent 0c14a92c28
commit b7bd446fa8
2 changed files with 1 additions and 1 deletions

View file

@ -41,7 +41,6 @@
#include "gstsrtserversrc.h" #include "gstsrtserversrc.h"
#include "gstsrt.h" #include "gstsrt.h"
#include <srt/srt.h>
#include <gio/gio.h> #include <gio/gio.h>
#define SRT_DEFAULT_POLL_TIMEOUT 100 #define SRT_DEFAULT_POLL_TIMEOUT 100

View file

@ -22,6 +22,7 @@
#define __GST_SRT_SERVER_SRC_H__ #define __GST_SRT_SERVER_SRC_H__
#include "gstsrtbasesrc.h" #include "gstsrtbasesrc.h"
#include <srt/srt.h>
G_BEGIN_DECLS G_BEGIN_DECLS