Add functional and cctype headers to msgfmt.cc
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 14 Nov 2013 21:51:17 +0000 (03:51 +0600)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 15 Nov 2013 06:43:56 +0000 (12:43 +0600)
Fixes compilation with MSVC compilers.

Patch by leszekswirski (Lech Swirski) with some own tweaks.

Differential Revision: http://developer.blender.org/D2

intern/locale/msgfmt.cc

index 312e47289736230814040e672187ba269b285fa0..17720adfa4861424514f1c4c7b766888fa809cd1 100644 (file)
@@ -14,7 +14,9 @@
 // Usage: msgfmt input.po output.po
 
 #include <algorithm>
+#include <cctype>
 #include <fstream>
+#include <functional>
 #include <iostream>
 #include <map>
 #include <stdlib.h>