summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/variable.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/variable.h')
-rw-r--r--Build/source/texk/kpathsea/variable.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/variable.h b/Build/source/texk/kpathsea/variable.h
index 992b9b36191..ab4a22a6924 100644
--- a/Build/source/texk/kpathsea/variable.h
+++ b/Build/source/texk/kpathsea/variable.h
@@ -22,6 +22,10 @@
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Return the (variable-expanded) environment variable value or config
file value, or NULL. */
extern KPSEDLL string kpathsea_var_value (kpathsea kpse, const_string var);
@@ -43,4 +47,8 @@ extern KPSEDLL string kpse_var_value (const_string var);
extern KPSEDLL string kpse_var_expand (const_string src);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not KPATHSEA_VARIABLE_H */