Turns out that the msg_control and related things are not defined in the
system headers unless you define some _XOPEN_SOURCE things.
AC_SUBST(LIBASYNCNS_LIBADD)
fi
AC_SUBST(LIBASYNCNS_LIBADD)
fi
+case $host in
+ *-*-solaris* )
+ AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Needed to get declarations for msg_control and msg_controllen on Solaris)
+ AC_DEFINE(_XOPEN_SOURCE, 2, Needed to get declarations for msg_control and msg_controllen on Solaris)
+ AC_DEFINE(__EXTENSIONS__, 1, Needed to get declarations for msg_control and msg_controllen on Solaris)
+ ;;
+esac
+
dnl
dnl if statfs() takes 2 arguments (Posix) or 4 (Solaris)
dnl
dnl
dnl if statfs() takes 2 arguments (Posix) or 4 (Solaris)
dnl