summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/str-list.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/str-list.h')
-rw-r--r--Build/source/texk/kpathsea/str-list.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/str-list.h b/Build/source/texk/kpathsea/str-list.h
index 6be7b39ee45..770abbdd3d0 100644
--- a/Build/source/texk/kpathsea/str-list.h
+++ b/Build/source/texk/kpathsea/str-list.h
@@ -23,6 +23,10 @@
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Lists of strings; used for, e.g., directory lists. */
typedef struct
{
@@ -92,4 +96,8 @@ extern void str_list_uniqify (str_list_type *l);
#endif /* MAKE_KPSE_DLL */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not KPATHSEA_STR_LIST_H */