summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/str-llist.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/str-llist.h')
-rw-r--r--Build/source/texk/kpathsea/str-llist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/str-llist.h b/Build/source/texk/kpathsea/str-llist.h
index 894544b2d42..bcc9b6dffaa 100644
--- a/Build/source/texk/kpathsea/str-llist.h
+++ b/Build/source/texk/kpathsea/str-llist.h
@@ -26,6 +26,10 @@
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* It's a little bizarre to be using the same type for the list and the
elements of the list, but no reason not to in this case, I think --
we never need a NULL string in the middle of the list, and an extra
@@ -55,4 +59,8 @@ extern void str_llist_float (str_llist_type *l, str_llist_elt_type *e);
#endif /* MAKE_KPSE_DLL */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not STR_LLIST_H */