diff options
Diffstat (limited to 'include/rpc/clnt_soc.h')
-rw-r--r-- | include/rpc/clnt_soc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rpc/clnt_soc.h b/include/rpc/clnt_soc.h index 1e7a0de..484dc7c 100644 --- a/include/rpc/clnt_soc.h +++ b/include/rpc/clnt_soc.h @@ -49,6 +49,10 @@ #include <sys/cdefs.h> +#ifdef __cplusplus +extern "C" { +#endif + #define UDPMSGSIZE 8800 /* rpc imposed limit on udp msg size */ /* @@ -103,4 +107,8 @@ extern CLIENT *clntudp_bufcreate(struct sockaddr_in *, u_long, u_long, struct timeval, int *, u_int, u_int); __END_DECLS +#ifdef __cplusplus +} +#endif + #endif /* _RPC_CLNT_SOC_H */ |