void-packages/srcpkgs/kdelibs/patches/fix-kdoctools_char16_t.patch

15 lines
344 B
Diff
Raw Normal View History

2017-12-17 22:37:49 +01:00
--- kdoctools/xslt.h 2014-11-06 23:33:50.000000000 +0100
+++ kdoctools/xslt.h 2017-12-17 22:28:41.024101780 +0100
@@ -1,6 +1,11 @@
#ifndef _MEIN_XSLT_H_
#define _MEIN_XSLT_H_
+#if !defined(char16_t)
+#include <stdint.h>
+typedef uint16_t char16_t;
+#endif
+
#include <libxml/parser.h>
#include <QtCore/QString>
#include <QtCore/QVector>