From 6d8d4b5a7bf63812b95d152762c604cdc1ee3911 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 22 Apr 2015 14:48:03 -0400 Subject: Include string.h for memset This fixes warning: implicit declaration of function 'memset' Signed-off-by: Natanael Copa Signed-off-by: Steve Dickson --- tirpc/rpc/rpcent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tirpc') diff --git a/tirpc/rpc/rpcent.h b/tirpc/rpc/rpcent.h index 6619cd3..147f909 100644 --- a/tirpc/rpc/rpcent.h +++ b/tirpc/rpc/rpcent.h @@ -49,7 +49,7 @@ extern "C" { #endif /* 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 */ -- cgit v1.2.1