@@ -, +, @@ --- src/bindresvport.c | 1 + tirpc/netconfig.h | 1 + tirpc/rpc/rpcent.h | 2 +- tirpc/rpc/types.h | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) --- a/src/bindresvport.c +++ a/src/bindresvport.c @@ -37,6 +37,7 @@ #include #include +#include #include #include --- a/tirpc/netconfig.h +++ a/tirpc/netconfig.h @@ -2,6 +2,7 @@ #define _NETCONFIG_H_ #include +#include #define NETCONFIG "/etc/netconfig" #define NETPATH "NETPATH" --- a/tirpc/rpc/rpcent.h +++ a/tirpc/rpc/rpcent.h @@ -47,7 +47,7 @@ __BEGIN_DECLS /* These are defined in /usr/include/rpc/netdb.h */ -#if 0 +#if !defined(__GLIBC__) struct rpcent { char *r_name; /* name of server for this rpc program */ char **r_aliases; /* alias list */ --- a/tirpc/rpc/types.h +++ a/tirpc/rpc/types.h @@ -39,6 +39,7 @@ #define _TIRPC_TYPES_H #include +#include typedef int32_t bool_t; typedef int32_t enum_t; --