From a1a8064169aeda79e3266a2db9cce25e361a86dc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 20 Mar 2017 18:10:36 +0100 Subject: remove RPC implementation The included RPC implementation is ipv4 only. Other C library projects have either deprecated the internal RPC implementation (GNU C Library) or never implemented such functionality (musl C Library). The latest rpcbind release (0.2.4) checks for libtirpc and does not allow to be build with uClibc-ng RPC without patching. The common use case for RPC nowadays is to use rpcbind together with nfs-utils to provide NFS server or client support to a system. The included RPC implementation does create issues with duplicate symbol failures when statically compiling with RPC enabled. --- include/netdb.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/netdb.h') diff --git a/include/netdb.h b/include/netdb.h index 95abe95cb..a85797956 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -26,11 +26,6 @@ #include #include -#if defined __USE_MISC && defined __UCLIBC_HAS_RPC__ -/* This is necessary to make this include file properly replace the - Sun version. */ -# include -#endif #ifdef __USE_GNU # define __need_sigevent_t -- cgit v1.2.3