summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <tk@giga.or.at>2021-11-19 00:09:03 +0100
committerTim-Philipp Müller <tim@centricular.com>2021-11-20 20:33:13 +0000
commita8c40645808f494e0230e78bbf113ac5c20ae76b (patch)
treea755020e988f9393aec91fee20e70aaa34ced685
parent242144c78e0d5fed982f5c250c46216be07d734e (diff)
downloadgstreamer-plugins-base-a8c40645808f494e0230e78bbf113ac5c20ae76b.tar.gz
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/gst-plugins-base/-/merge_requests/1288>
-rw-r--r--gst/tcp/gstmultifdsink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/tcp/gstmultifdsink.c b/gst/tcp/gstmultifdsink.c
index e151dfc73..dc423ef0b 100644
--- a/gst/tcp/gstmultifdsink.c
+++ b/gst/tcp/gstmultifdsink.c
@@ -121,6 +121,10 @@
#include "gstmultifdsink.h"
+#if !defined(FIONREAD) && defined(__sun)
+#include <sys/filio.h>
+#endif
+
#define NOT_IMPLEMENTED 0
GST_DEBUG_CATEGORY_STATIC (multifdsink_debug);