summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/line.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/line.h')
-rw-r--r--Build/source/texk/kpathsea/line.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/line.h b/Build/source/texk/kpathsea/line.h
index f2a8d89b946..9c98ce95753 100644
--- a/Build/source/texk/kpathsea/line.h
+++ b/Build/source/texk/kpathsea/line.h
@@ -23,9 +23,17 @@
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Return NULL if we are at EOF, else the next line of F. The newline
character at the end of string is removed. The string is allocated
with malloc. */
extern KPSEDLL string read_line (FILE *f);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not LINE_H */