summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/expand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/expand.h')
-rw-r--r--Build/source/texk/kpathsea/expand.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/expand.h b/Build/source/texk/kpathsea/expand.h
index 2b2caeb06e7..cebeb747b5c 100644
--- a/Build/source/texk/kpathsea/expand.h
+++ b/Build/source/texk/kpathsea/expand.h
@@ -22,6 +22,10 @@
#include <kpathsea/c-proto.h>
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
/* Call kpse_var_expand and kpse_tilde_expand (in that order). Result
@@ -48,5 +52,8 @@ extern KPSEDLL string kpse_brace_expand (const_string path);
extern KPSEDLL string kpse_path_expand (const_string path);
#endif
+#ifdef __cplusplus
+}
+#endif
#endif /* not KPATHSEA_EXPAND_H */