diff options
| author | Michael Adam <obnox@samba.org> | 2014-06-01 01:48:15 +0200 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2014-06-01 10:02:56 +0200 |
| commit | 3029067b21775c1f6fec43e0b03712defa69e9a6 (patch) | |
| tree | 1375d6897f11bf14403e0c6edea868f816a2dc7a /src | |
| parent | 00258577e86f4b6c15d504954ee6233086638a3e (diff) | |
| download | socket_wrapper-3029067b21775c1f6fec43e0b03712defa69e9a6.tar.gz socket_wrapper-3029067b21775c1f6fec43e0b03712defa69e9a6.tar.xz socket_wrapper-3029067b21775c1f6fec43e0b03712defa69e9a6.zip | |
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/socket_wrapper.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <gnu/lib-names.h> #endif +#ifdef HAVE_RPC_RPC_H +#include <rpc/rpc.h> +#endif enum swrap_dbglvl_e { SWRAP_LOG_ERROR = 0, |
