File mysql-workbench-5.1.16-missing-includes.patch of Package mysql-workbench
Index: library/canvas/src/mdc_common.h
===================================================================
--- library/canvas/src/mdc_common.h.orig
+++ library/canvas/src/mdc_common.h
@@ -14,6 +14,7 @@
#include <typeinfo>
#include <sigc++/sigc++.h>
+#include <stdio.h>
#define _USE_MATH_DEFINES
#include <math.h>
Index: library/forms/filechooser.cpp
===================================================================
--- library/forms/filechooser.cpp.orig
+++ library/forms/filechooser.cpp
@@ -20,6 +20,8 @@
#include <mforms/mforms.h>
+#include <stdio.h>
+
using namespace mforms;
Index: library/forms/mforms.cpp
===================================================================
--- library/forms/mforms.cpp.orig
+++ library/forms/mforms.cpp
@@ -18,6 +18,7 @@
*/
#include "stdafx.h"
#include <string.h>
+#include <stdio.h>
#include "mforms/mforms.h"
#include "mforms/simpleform.h"