summaryrefslogtreecommitdiff
path: root/libc/sunrpc/rpc_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sunrpc/rpc_common.c')
-rw-r--r--libc/sunrpc/rpc_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sunrpc/rpc_common.c b/libc/sunrpc/rpc_common.c
index 90904025b..44b4b38f4 100644
--- a/libc/sunrpc/rpc_common.c
+++ b/libc/sunrpc/rpc_common.c
@@ -28,6 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <rpc/rpc.h>
+#include <shlib-compat.h>
#ifdef _RPC_THREAD_SAFE_
#undef svc_fdset
@@ -44,7 +45,7 @@
section but we cannot add const to the type because this isn't how
the variable is declared. So we use the section attribute. */
struct opaque_auth _null_auth __attribute__ ((nocommon));
-libc_hidden_def (_null_auth)
+libc_hidden_nolink (_null_auth, GLIBC_2_0)
fd_set svc_fdset;
struct rpc_createerr rpc_createerr;
struct pollfd *svc_pollfd;