linux: update to 4.1.43
[openadk.git] / package / libtirpc / patches / patch-tirpc_rpc_rpcent_h
blob46dd86d8b6510c937075a3df85f98eb6c0547fdc
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  
7 -/* These are defined in /usr/include/rpc/netdb.h */
8 -#if !defined(__GLIBC__)
9 +/* These are defined in /usr/include/rpc/netdb.h, unless we are using
10 +   the C library without RPC support. */
11 +#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__) || !defined(__GLIBC__)
12  struct rpcent {
13         char    *r_name;        /* name of server for this rpc program */
14         char    **r_aliases;    /* alias list */