summaryrefslogtreecommitdiff
path: root/tirpc
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-22 14:48:03 -0400
committerSteve Dickson <steved@redhat.com>2015-04-23 08:29:45 -0400
commit6d8d4b5a7bf63812b95d152762c604cdc1ee3911 (patch)
treefe8850010f415b0d5887c7c7a492aab894c9bdfd /tirpc
parent7228a9482b92ff0305f7e7ccd0276c638bee1884 (diff)
downloadti-rpc-6d8d4b5a7bf63812b95d152762c604cdc1ee3911.tar.gz
Include string.h for memset
This fixes warning: implicit declaration of function 'memset' Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tirpc')
-rw-r--r--tirpc/rpc/rpcent.h2
1 files changed, 1 insertions, 1 deletions
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 */