about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTPlain.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTPlain.h')
-rw-r--r--WWW/Library/Implementation/HTPlain.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/HTPlain.h b/WWW/Library/Implementation/HTPlain.h
index 92dcc061..24fd6691 100644
--- a/WWW/Library/Implementation/HTPlain.h
+++ b/WWW/Library/Implementation/HTPlain.h
@@ -8,8 +8,14 @@
 #include <HTStream.h>
 #include <HTAnchor.h>
 
-extern HTStream *HTPlainPresent(HTPresentation *pres,
-				HTParentAnchor *anchor,
-				HTStream *sink);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern HTStream *HTPlainPresent(HTPresentation *pres,
+				    HTParentAnchor *anchor,
+				    HTStream *sink);
 
-#endif /* HTPLAIN_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* HTPLAIN_H */