Commit 13d29bab authored by Howard Chu's avatar Howard Chu
Browse files

Fix accrights test, use <sys/socket.h>

parent fe4f3553
......@@ -1220,7 +1220,7 @@ dnl ====================================================================
dnl check for msg_accrights in msghdr
[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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment