summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libxslt/xsltlocale.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libxslt/xsltlocale.h b/libxslt/xsltlocale.h
index 10a4402f..c8be58d3 100644
--- a/libxslt/xsltlocale.h
+++ b/libxslt/xsltlocale.h
@@ -14,6 +14,10 @@
#include <libxml/xmlstring.h>
#include "xsltexports.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
XSLTPUBFUN void * XSLTCALL
xsltNewLocale (const xmlChar *langName,
int lowerFirst);
@@ -33,4 +37,8 @@ XSLTPUBFUN int XSLTCALL
const xmlChar *str1,
const xmlChar *str2);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __XML_XSLTLOCALE_H__ */