1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

swrap: add check for rpc/rpc.h - needed on freebsd for bindresvport

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Michael Adam 2014-06-03 15:11:46 +02:00
parent 6e6c817fd0
commit 3700a4625c
2 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,9 @@
#ifdef HAVE_GNU_LIB_NAMES_H
#include <gnu/lib-names.h>
#endif
#ifdef HAVE_RPC_RPC_H
#include <rpc/rpc.h>
#endif
enum swrap_dbglvl_e {
SWRAP_LOG_ERROR = 0,

View File

@ -42,6 +42,7 @@ def configure(conf):
conf.CHECK_HEADERS('sys/eventfd.h')
conf.CHECK_HEADERS('sys/timerfd.h')
conf.CHECK_HEADERS('gnu/lib-names.h')
conf.CHECK_HEADERS('rpc/rpc.h')
conf.CHECK_STRUCTURE_MEMBER('struct msghdr',
'msg_control',