]> git.sur5r.net Git - openldap/commitdiff
Fix accrights test, use <sys/socket.h>
authorHoward Chu <hyc@openldap.org>
Sun, 2 Mar 2003 23:00:51 +0000 (23:00 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 2 Mar 2003 23:00:51 +0000 (23:00 +0000)
build/openldap.m4

index a660b02550e8572d66dedc421dc9419a6dc8faaf..be43e206588d33290a40fe60f8eed8d08444586c 100644 (file)
@@ -1220,7 +1220,7 @@ dnl ====================================================================
 dnl check for msg_accrights in msghdr
 AC_DEFUN(OL_MSGHDR_MSG_ACCRIGHTS,
  [AC_CACHE_CHECK(msg_accrights in msghdr, ol_cv_msg_accrights,
-   [AC_TRY_COMPILE([#include <socket.h>],
+   [AC_TRY_COMPILE([#include <sys/socket.h>],
                [struct msghdr m; m.msg_accrightslen=0],
                ol_cv_msghdr_msg_accrights=yes, ol_cv_msghdr_msg_accrights=no)
        ])