summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/pathsearch.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/pathsearch.h')
-rw-r--r--Build/source/texk/kpathsea/pathsearch.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/pathsearch.h b/Build/source/texk/kpathsea/pathsearch.h
index d54d019e262..66227bdfd1d 100644
--- a/Build/source/texk/kpathsea/pathsearch.h
+++ b/Build/source/texk/kpathsea/pathsearch.h
@@ -23,6 +23,10 @@
#include <kpathsea/str-llist.h>
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* The naming of all these functions is rather scattered and
inconsistent, but they grew over time, and we don't want to change
the meaning of existing names. */
@@ -105,4 +109,8 @@ extern KPSEDLL string *kpse_all_path_search
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not KPATHSEA_PATHSEARCH_H */