summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2017-11-14 10:46:37 -0500
committerSteve Dickson <steved@redhat.com>2017-11-14 11:17:59 -0500
commit61fad776aacd985eca3d3a1c6185286705856f9b (patch)
tree35e20e1279cdb8a8236854b07de14ce72410abdc
parente51d67549b516b2dac6c71d92c8499f6e67125ad (diff)
downloadti-rpc-libtirpc-1-0-3-rc1.tar.gz
Add includes to pmap_clnt.hlibtirpc-1-0-3-rc1
When disabling the deprecated sunrpc code in glibc and build openSUSE Tumbleweed completly with libtirpc, I found some programs including rpc/pmap_clnt.h without all needed header files before. Since the list is uncommon and a surprise (sunrpc did include them in that header), I added them to the tirpc header, too: Signed-off-by: Thorsten Kukuk <kukuk@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--tirpc/rpc/pmap_clnt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tirpc/rpc/pmap_clnt.h b/tirpc/rpc/pmap_clnt.h
index 6abd583..cf1ab61 100644
--- a/tirpc/rpc/pmap_clnt.h
+++ b/tirpc/rpc/pmap_clnt.h
@@ -64,6 +64,10 @@
#ifndef _RPC_PMAP_CLNT_H_
#define _RPC_PMAP_CLNT_H_
+#include <rpc/types.h>
+#include <rpc/xdr.h>
+#include <rpc/clnt.h>
+
#ifdef __cplusplus
extern "C" {
#endif