summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/lib.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-24 09:37:07 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-24 09:37:07 +0000
commitd8ee324e03e46ef3361a8ade3062034bc45795af (patch)
tree16db0d512972def0afb897cf289ac8ff65a6b389 /Build/source/texk/kpathsea/lib.h
parent151106e752f349fac3ef91258cdf305c1cd6dc79 (diff)
kpathsea 6.2.0dev
git-svn-id: svn://tug.org/texlive/trunk@30892 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/lib.h')
-rw-r--r--Build/source/texk/kpathsea/lib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/lib.h b/Build/source/texk/kpathsea/lib.h
index 3fa3d72f804..2aac2519b3d 100644
--- a/Build/source/texk/kpathsea/lib.h
+++ b/Build/source/texk/kpathsea/lib.h
@@ -24,6 +24,10 @@
#include <kpathsea/systypes.h>
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Define common sorts of messages. */
/* This should be called only after a system call fails. Don't exit
@@ -221,4 +225,8 @@ extern KPSEDLL address xcalloc (size_t nelem, size_t elsize);
#define XTALLOC1(t) XTALLOC (1, t)
#define XRETALLOC(addr, n, t) ((addr) = (t *) xrealloc (addr, (n) * sizeof(t)))
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not KPATHSEA_LIB_H */