From: Natanael Copa Date: Wed, 22 Apr 2015 18:48:03 +0000 (-0400) Subject: Include string.h for memset X-Git-Tag: libtirpc-0-2-6-rc3~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d8d4b5a7bf63812b95d152762c604cdc1ee3911;p=libtirpc Include string.h for memset This fixes warning: implicit declaration of function 'memset' Signed-off-by: Natanael Copa Signed-off-by: Steve Dickson --- diff --git a/src/authgss_prot.c b/src/authgss_prot.c index 669eab7..d80ba17 100644 --- a/src/authgss_prot.c +++ b/src/authgss_prot.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include 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 */