diff --git a/include/nfsc/libnfs.h b/include/nfsc/libnfs.h index da03f44..4657111 100644 --- a/include/nfsc/libnfs.h +++ b/include/nfsc/libnfs.h @@ -29,6 +29,10 @@ #include #endif +#ifdef __cplusplus +extern "C" { +#endif + struct nfs_context; struct rpc_context; @@ -1162,4 +1166,8 @@ struct nfs_server_list { struct nfs_server_list *nfs_find_local_servers(void); void free_nfs_srvr_list(struct nfs_server_list *srv); +#ifdef __cplusplus +} +#endif + #endif /* !_LIBNFS_H_ */