View | Details | Raw Unified | Return to bug 336 | Differences between
and this patch

Collapse All | Expand All

(-)configure.ac (-1 / +2 lines)
Lines 1703-1708 Link Here
1703
	AC_DEFINE(HAVE_ACCRIGHTS_IN_MSGHDR)
1703
	AC_DEFINE(HAVE_ACCRIGHTS_IN_MSGHDR)
1704
fi
1704
fi
1705
1705
1706
dnl also check that required CMSG_* macros are defined 
1706
AC_CACHE_CHECK([for msg_control field in struct msghdr],
1707
AC_CACHE_CHECK([for msg_control field in struct msghdr],
1707
		ac_cv_have_control_in_msghdr, [
1708
		ac_cv_have_control_in_msghdr, [
1708
	AC_TRY_RUN(
1709
	AC_TRY_RUN(
Lines 1711-1717 Link Here
1711
#include <sys/socket.h>
1712
#include <sys/socket.h>
1712
#include <sys/uio.h>
1713
#include <sys/uio.h>
1713
int main() {
1714
int main() {
1714
#ifdef msg_control
1715
#if defined(msg_control) || !defined(CMSG_FIRSTHDR)
1715
exit(1);
1716
exit(1);
1716
#endif
1717
#endif
1717
struct msghdr m;
1718
struct msghdr m;

Return to bug 336