--- libtirpc-0.2.4.orig/src/bindresvport.c +++ libtirpc-0.2.4/src/bindresvport.c @@ -37,6 +37,7 @@ #include #include +#include #include #include --- libtirpc-0.2.4.orig/tirpc/rpc/rpcent.h +++ libtirpc-0.2.4/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 */ --- libtirpc-0.2.4.orig/tirpc/rpc/types.h +++ libtirpc-0.2.4/tirpc/rpc/types.h @@ -39,6 +39,7 @@ #define _TIRPC_TYPES_H #include +#include typedef int32_t bool_t; typedef int32_t enum_t; --- libtirpc-0.2.4.orig/tirpc/netconfig.h +++ libtirpc-0.2.4/tirpc/netconfig.h @@ -2,6 +2,7 @@ #define _NETCONFIG_H_ #include +#include #define NETCONFIG "/etc/netconfig" #define NETPATH "NETPATH"