tcp: fix build on Solaris

Add missing header.

From Claes Nästén via http://gnats.netbsd.org/56509

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1364>
This commit is contained in:
Thomas Klausner 2021-11-19 00:09:03 +01:00 committed by GStreamer Marge Bot
parent 9e2f679ae1
commit 0b0bc5956d

View file

@ -122,6 +122,10 @@
#include "gsttcpelements.h" #include "gsttcpelements.h"
#include "gstmultifdsink.h" #include "gstmultifdsink.h"
#if !defined(FIONREAD) && defined(__sun)
#include <sys/filio.h>
#endif
#define NOT_IMPLEMENTED 0 #define NOT_IMPLEMENTED 0
GST_DEBUG_CATEGORY_STATIC (multifdsink_debug); GST_DEBUG_CATEGORY_STATIC (multifdsink_debug);