summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/gengal/gengal.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx
index 0f68d830e2ff..9a888affe4fa 100644
--- a/svx/source/gengal/gengal.cxx
+++ b/svx/source/gengal/gengal.cxx
@@ -7,6 +7,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+
+// Include this before stdio.h for the __MINGW32__ sake.
+// This header contails a define that modifies the way
+// formating strings work for the mingw platforms.
+#include <sal/types.h>
+
#include <stdio.h>
#ifndef _WIN32
#include <unistd.h>