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 /tests/test_echo_tcp_bind.c | |
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 'tests/test_echo_tcp_bind.c')
-rw-r--r-- | tests/test_echo_tcp_bind.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_echo_tcp_bind.c b/tests/test_echo_tcp_bind.c index b3f2656..e1c55ef 100644 --- a/tests/test_echo_tcp_bind.c +++ b/tests/test_echo_tcp_bind.c @@ -14,6 +14,9 @@ #include <stdlib.h> #include <stdio.h> #include <unistd.h> +#ifdef HAVE_RPC_RPC_H +#include <rpc/rpc.h> +#endif static void setup_echo_srv_tcp_ipv4(void **state) { |