summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/cnf.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/cnf.h')
-rw-r--r--Build/source/texk/kpathsea/cnf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/cnf.h b/Build/source/texk/kpathsea/cnf.h
index dce41e2787b..44c966841be 100644
--- a/Build/source/texk/kpathsea/cnf.h
+++ b/Build/source/texk/kpathsea/cnf.h
@@ -22,6 +22,10 @@
#include <kpathsea/c-proto.h>
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Return the value in the last-read cnf file for VAR, or NULL if none.
On the first call, also read all the `texmf.cnf' files in the
path for kpse_cnf_format (and initialize the path). */
@@ -32,4 +36,8 @@ extern KPSEDLL const_string kpathsea_cnf_get (kpathsea kpse, const_string name);
extern KPSEDLL const_string kpse_cnf_get (const_string var);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not KPATHSEA_CNF_H */