diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2013-05-08 18:56:08 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2013-05-08 19:09:41 +0300 |
commit | 8b1bd600cd112d97ea77b155db94a1f56f2e11aa (patch) | |
tree | 62356accb2e12000db74bde0db5a62d785cd4a64 /libmwaw | |
parent | d2b11ab8cb7f3fba07ad76fdcaff340d4184ec4f (diff) |
Include <cctype> for std::tolower() to fix MSVC build
Change-Id: I777bcf9d80ad579347bd26147cb8801cc61222e6
Diffstat (limited to 'libmwaw')
-rw-r--r-- | libmwaw/UnpackedTarball_libmwaw.mk | 1 | ||||
-rw-r--r-- | libmwaw/libmwaw-0.1.8-cctype.patch | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/libmwaw/UnpackedTarball_libmwaw.mk b/libmwaw/UnpackedTarball_libmwaw.mk index c9c149e27eab..a5d9c015b60b 100644 --- a/libmwaw/UnpackedTarball_libmwaw.mk +++ b/libmwaw/UnpackedTarball_libmwaw.mk @@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libmwaw,1)) $(eval $(call gb_UnpackedTarball_add_patches,libmwaw,\ libmwaw/libmwaw-0.1.7-autotools.patch \ + libmwaw/libmwaw-0.1.8-cctype.patch \ )) # vim: set noet sw=4 ts=4: diff --git a/libmwaw/libmwaw-0.1.8-cctype.patch b/libmwaw/libmwaw-0.1.8-cctype.patch new file mode 100644 index 000000000000..de515d62eccb --- /dev/null +++ b/libmwaw/libmwaw-0.1.8-cctype.patch @@ -0,0 +1,10 @@ +--- libmwaw-0.1.8/src/lib/MWAWOLEStream.cxx ++++ libmwaw-0.1.8/src/lib/MWAWOLEStream.cxx +@@ -43,6 +43,7 @@ + #endif + + #include <cstring> ++#include <cctype> + #include <iostream> + #include <list> + #include <set> |