Original commit message from CVS:
- change sunaudio category to Sink/Audio
- change HAVE_FIONREAD macro to GST_CHECK_FIONREAD
- add conditional include for FIONREAD ioctl on more files
fi
dnl Check for FIONREAD ioctl declaration :
-HAVE_FIONREAD()
+GST_CHECK_FIONREAD()
dnl ############################################
dnl # Super Duper options for plug-in building #
#include <gst/gst-i18n-plugin.h>
#include <sys/ioctl.h>
+
+#ifdef FIONREAD_IN_SYS_FILIO
+#include <sys/filio.h>
+#endif
+
#include "gsttcpserversink.h"
#define TCP_DEFAULT_HOST "127.0.0.1"
#include <unistd.h>
#include <sys/ioctl.h>
+#ifdef FIONREAD_IN_SYS_FILIO
+#include <sys/filio.h>
+#endif
+
GST_DEBUG_CATEGORY (tcpserversrc_debug);
#define GST_CAT_DEFAULT tcpserversrc_debug
-AC_DEFUN([HAVE_FIONREAD], [
+AC_DEFUN([GST_CHECK_FIONREAD], [
AC_MSG_CHECKING(for FIONREAD in sys/ioctl.h)
AC_CACHE_VAL(GST_FIONREAD_IN_SYS_IOCTL, [