From 3029067b21775c1f6fec43e0b03712defa69e9a6 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 1 Jun 2014 01:48:15 +0200 Subject: swrap: add check for rpc/rpc.h - needed on freebsd for bindresvport Signed-off-by: Michael Adam Reviewed-by: Andreas Schneider --- src/socket_wrapper.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index bf84dbe..523b32a 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -76,6 +76,9 @@ #ifdef HAVE_GNU_LIB_NAMES_H #include #endif +#ifdef HAVE_RPC_RPC_H +#include +#endif enum swrap_dbglvl_e { SWRAP_LOG_ERROR = 0, -- cgit