summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-09-03 10:20:01 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-09-03 10:20:01 +0100
commit4d0a69027e6d089bab15ff7e844a0ab08256620c (patch)
treef81b86667b58b7210a11df1a9ebcd4bea46ffdce /configure.ac
parent8d012ff68d245c4812b3e8929fcec949e8881ae1 (diff)
parent6dcef0c8f0d3ef541d215b892f08645d3f187e24 (diff)
Merge branch 'dbus-1.6'
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index fee9db6b..e2c9bdf7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -765,7 +765,8 @@ dnl needed on darwin for NAME_MAX
AC_CHECK_HEADERS(sys/syslimits.h)
dnl Make it easy to check if we have MSG_NOSIGNAL without actually having to include sys/socket.h
-AC_CHECK_DECLS([MSG_NOSIGNAL], [], [], [[ #include <sys/socket.h> ]])
+AC_CHECK_DECLS([MSG_NOSIGNAL], [], [], [[ #include <sys/types.h>
+#include <sys/socket.h> ]])
dnl check for flavours of varargs macros (test from GLib)
AC_MSG_CHECKING(for ISO C99 varargs macros in C)
@@ -1219,6 +1220,7 @@ AC_SUBST([ADT_LIBS])
# Check for SCM_RIGHTS
AC_MSG_CHECKING([for SCM_RIGHTS])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
static int x = SCM_RIGHTS;