summaryrefslogtreecommitdiffstats
path: root/include/rpc/svc_soc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/svc_soc.h')
-rw-r--r--include/rpc/svc_soc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rpc/svc_soc.h b/include/rpc/svc_soc.h
index 6c528db..09704df4 100644
--- a/include/rpc/svc_soc.h
+++ b/include/rpc/svc_soc.h
@@ -49,6 +49,10 @@
* with TS-RPC
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Approved way of getting address of caller
*/
@@ -113,4 +117,8 @@ __BEGIN_DECLS
extern SVCXPRT *svcfd_create(int, u_int, u_int);
__END_DECLS
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !_RPC_SVC_SOC_H */
OpenPOWER on IntegriCloud