diff --git a/subprojects/gst-plugins-base/gst/tcp/gstmultifdsink.c b/subprojects/gst-plugins-base/gst/tcp/gstmultifdsink.c index dfee7420eb..e0e710c5f3 100644 --- a/subprojects/gst-plugins-base/gst/tcp/gstmultifdsink.c +++ b/subprojects/gst-plugins-base/gst/tcp/gstmultifdsink.c @@ -122,6 +122,10 @@ #include "gsttcpelements.h" #include "gstmultifdsink.h" +#if !defined(FIONREAD) && defined(__sun) +#include +#endif + #define NOT_IMPLEMENTED 0 GST_DEBUG_CATEGORY_STATIC (multifdsink_debug);