summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/readable.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/readable.h')
-rw-r--r--Build/source/texk/kpathsea/readable.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/readable.h b/Build/source/texk/kpathsea/readable.h
index ca766c0141d..123e299b132 100644
--- a/Build/source/texk/kpathsea/readable.h
+++ b/Build/source/texk/kpathsea/readable.h
@@ -22,6 +22,10 @@
#include <kpathsea/c-proto.h>
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* If NAME is readable and is a regular file, return it. If the error is
ENAMETOOLONG, truncate any too-long path components, and if the
result is a readable file, return that. Otherwise return NULL. */
@@ -32,4 +36,8 @@ extern KPSEDLL string kpathsea_readable_file (kpathsea kpse, string name);
extern KPSEDLL string kpse_readable_file (string name);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not KPATHSEA_READABLE_H */