summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/tex-file.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.h')
-rw-r--r--Build/source/texk/kpathsea/tex-file.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.h b/Build/source/texk/kpathsea/tex-file.h
index 076edcc57b6..1310b51a8e7 100644
--- a/Build/source/texk/kpathsea/tex-file.h
+++ b/Build/source/texk/kpathsea/tex-file.h
@@ -23,6 +23,10 @@
#include <stdarg.h>
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
/* This initializes the fallback resolution list. If ENVVAR
@@ -130,4 +134,8 @@ extern KPSEDLL FILE *kpse_open_file (const_string, kpse_file_format_type);
extern KPSEDLL void kpse_reset_program_name (const_string progname);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not KPATHSEA_TEX_FILE_H */