summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/socket/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/socket/config.m4 b/source4/lib/socket/config.m4
index cb593ea184..7ea7e2b809 100644
--- a/source4/lib/socket/config.m4
+++ b/source4/lib/socket/config.m4
@@ -1,5 +1,8 @@
AC_CHECK_HEADERS(sys/socket.h sys/sockio.h sys/un.h)
+AC_CHECK_FUNCS(writev)
+AC_CHECK_FUNCS(readv)
+
AC_CACHE_CHECK([for sin_len in sock],samba_cv_HAVE_SOCK_SIN_LEN,[
AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/socket.h>