File 005-missing-includes.patch of Package libtirpc.7906
From 75a49eabb3c71ee8f4a579df4e0199694d086e28 Mon Sep 17 00:00:00 2001
From: Thorsten Kukuk <kukuk@thkukuk.de>
Date: Tue, 14 Nov 2017 14:41:33 +0100
Subject: [PATCH 1/1] Include header files in rpc/pmap_clnt.h, so that this
header file can be used standalone as in the past with sunrpc.
Signed-off-by: Thorsten Kukuk <kukuk@suse.de>
---
tirpc/rpc/pmap_clnt.h | 4 ++++
1 file changed, 4 insertions(+)
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
--
2.12.3