aboutsummaryrefslogtreecommitdiff
path: root/libpkgconf/bsdstubs.h
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-09-19 21:04:30 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-09-19 21:04:30 +0300
commit54fae3a9ca0af5ab29cc02d9c91fc2c63c6bc872 (patch)
tree300def013e8b61ee260bca3ca8f3ff96d59b7290 /libpkgconf/bsdstubs.h
parentdf3f033ad8586bb28503d204eac4e02990f64a44 (diff)
Merge with latest original package version (master branch)
Diffstat (limited to 'libpkgconf/bsdstubs.h')
-rw-r--r--libpkgconf/bsdstubs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libpkgconf/bsdstubs.h b/libpkgconf/bsdstubs.h
index 2e0fb5c..8f37b70 100644
--- a/libpkgconf/bsdstubs.h
+++ b/libpkgconf/bsdstubs.h
@@ -18,8 +18,16 @@
#include <libpkgconf/libpkgconf-api.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
PKGCONF_API extern size_t pkgconf_strlcpy(char *dst, const char *src, size_t siz);
PKGCONF_API extern size_t pkgconf_strlcat(char *dst, const char *src, size_t siz);
PKGCONF_API extern char *pkgconf_strndup(const char *src, size_t len);
+#ifdef __cplusplus
+}
+#endif
+
#endif