From: Arne Redlich Date: Thu, 13 Feb 2014 21:29:11 +0000 (+0100) Subject: libnfs-zdr.h: wrap in extern "C" for C++ compatibility X-Git-Tag: upstream/1.9.6^2~109 X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=commitdiff_plain;h=a81c5ea1d221c9390d25b0d06cd7c67eba300fa8 libnfs-zdr.h: wrap in extern "C" for C++ compatibility Signed-off-by: Arne Redlich --- diff --git a/include/nfsc/libnfs-zdr.h b/include/nfsc/libnfs-zdr.h index 5d9fe7c..501875e 100644 --- a/include/nfsc/libnfs-zdr.h +++ b/include/nfsc/libnfs-zdr.h @@ -41,6 +41,10 @@ typedef char *caddr_t; #include #include +#ifdef __cplusplus +extern "C" { +#endif + #define _RPC_RPC_H 1 #define _RPC_ZDR_H 1 #define _RPC_AUTH_H 1 @@ -280,4 +284,8 @@ struct AUTH *libnfs_authunix_create_default(void); #define auth_destroy libnfs_auth_destroy void libnfs_auth_destroy(struct AUTH *auth); +#ifdef __cplusplus +} +#endif + #endif