summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/hash.h')
-rw-r--r--Build/source/texk/kpathsea/hash.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/hash.h b/Build/source/texk/kpathsea/hash.h
index d382201d2a4..f54cd0fd646 100644
--- a/Build/source/texk/kpathsea/hash.h
+++ b/Build/source/texk/kpathsea/hash.h
@@ -29,6 +29,10 @@
/* At the moment can not free */
#define KPATHSEA_CAN_FREE 0
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* A single (key,value) pair. */
typedef struct hash_element_struct
{
@@ -85,4 +89,8 @@ extern void hash_free (hash_table_type table);
#endif /* MAKE_KPSE_DLL */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not HASH_H */