patch-tirpc_rpc_rpcent_h 578 B

1234567891011121314
  1. --- libtirpc-1.0.1.orig/tirpc/rpc/rpcent.h 2015-10-30 16:15:14.000000000 +0100
  2. +++ libtirpc-1.0.1/tirpc/rpc/rpcent.h 2015-11-29 16:38:28.630648509 +0100
  3. @@ -48,8 +48,9 @@
  4. extern "C" {
  5. #endif
  6. -/* These are defined in /usr/include/rpc/netdb.h */
  7. -#if !defined(__GLIBC__)
  8. +/* These are defined in /usr/include/rpc/netdb.h, unless we are using
  9. + the C library without RPC support. */
  10. +#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__) || !defined(__GLIBC__)
  11. struct rpcent {
  12. char *r_name; /* name of server for this rpc program */
  13. char **r_aliases; /* alias list */