[glom/glom-1-16] Remove some unnecessary includes



commit 4005ebd02a4b85dff39e2e381db1d32906364083
Author: David King <davidk openismus com>
Date:   Fri Oct 8 11:08:35 2010 +0200

    Remove some unnecessary includes
    
    * glom/bakery/app.h:
    * glom/base_db_table.h:
    * glom/base_db_table_data.h:
    * glom/box_db_table.h:
    * glom/libglom/sharedptr.h:
    * glom/mode_design/fields/combo_fieldtype.h:
    * glom/mode_design/relationships_overview/
      dialog_relationships_overview.cc: Remove some unnecessary includes.
    
    * glom/bakery/app_withdoc_gtk.cc:
    * glom/base_db_table_data.cc:
    * glom/glom_privs.cc:
    * glom/import_csv/csv_parser.cc:
    * glom/import_csv/dialog_import_csv.cc:
    * glom/import_csv/dialog_import_csv_progress.cc:
    * glom/libglom/connectionpool.cc:
    * glom/libglom/connectionpool_backends/postgres.cc:
    * glom/libglom/connectionpool_backends/postgres_self.cc:
    * glom/libglom/connectionpool_backends/sqlite.cc:
    * glom/libglom/data_structure/field.cc:
    * glom/libglom/document/bakery/document.cc:
    * glom/libglom/document/bakery/document_xml.cc:
    * glom/libglom/document/document.cc:
    * glom/libglom/python_embed/py_glom_record.cc:
    * glom/mode_data/notebook_data.cc:
    * glom/mode_design/dialog_database_preferences.cc:
    * glom/mode_design/iso_codes.cc:
    * glom/mode_design/layout/combobox_fields.cc:
    * glom/mode_design/layout/dialog_layout_calendar_related.cc:
    * glom/mode_design/layout/dialog_layout_list_related.cc:
    * glom/mode_design/print_layouts/window_print_layout_edit.cc:
    * glom/mode_design/translation/combobox_locale.cc:
    * glom/mode_design/translation/dialog_identify_original.cc:
    * glom/navigation/box_tables.cc:
    * glom/print_layout/canvas_layout_item.cc:
    * glom/python_embed/glom_python.cc:
    * glom/utility_widgets/flowtable_dnd.cc:
    * glom/utility_widgets/layoutwidgetmenu.cc:
    * glom/utility_widgets/notebooklabelglom.cc: Add iostream include.

 ChangeLog                                          |   44 ++++++++++++++++++++
 glom/bakery/app.h                                  |    2 -
 glom/bakery/app_withdoc_gtk.cc                     |    1 +
 glom/base_db_table.h                               |    1 -
 glom/base_db_table_data.cc                         |    1 +
 glom/base_db_table_data.h                          |    1 -
 glom/box_db_table.h                                |    1 -
 glom/import_csv/csv_parser.cc                      |    1 +
 glom/import_csv/dialog_import_csv.cc               |    1 +
 glom/import_csv/dialog_import_csv_progress.cc      |    2 +
 glom/libglom/connectionpool.cc                     |    2 +
 glom/libglom/connectionpool_backends/postgres.cc   |    2 +
 .../connectionpool_backends/postgres_self.cc       |    1 +
 glom/libglom/connectionpool_backends/sqlite.cc     |    2 +
 glom/libglom/data_structure/field.cc               |    2 +
 glom/libglom/data_structure/numeric_format.h       |    1 -
 glom/libglom/document/bakery/document.cc           |    2 +-
 glom/libglom/document/bakery/document.h            |    1 -
 glom/libglom/document/bakery/document_xml.cc       |    2 +-
 glom/libglom/document/document.cc                  |    1 +
 glom/libglom/privs.cc                              |    2 +
 glom/libglom/python_embed/py_glom_record.cc        |    2 +
 glom/libglom/sharedptr.h                           |    3 +-
 glom/mode_data/notebook_data.cc                    |    2 +
 glom/mode_design/dialog_database_preferences.cc    |    2 +
 glom/mode_design/fields/combo_fieldtype.h          |    1 -
 glom/mode_design/iso_codes.cc                      |    2 +
 glom/mode_design/layout/combobox_fields.cc         |    2 +
 .../layout/dialog_layout_calendar_related.cc       |    2 +
 .../layout/dialog_layout_list_related.cc           |    2 +
 .../print_layouts/window_print_layout_edit.cc      |    3 +-
 .../dialog_relationships_overview.cc               |    2 +-
 glom/mode_design/translation/combobox_locale.cc    |    2 +
 .../translation/dialog_identify_original.cc        |    2 +
 glom/navigation/box_tables.cc                      |    2 +
 glom/print_layout/canvas_layout_item.cc            |    3 +-
 glom/python_embed/glom_python.cc                   |    2 +
 glom/utility_widgets/flowtable_dnd.cc              |    2 +
 glom/utility_widgets/layoutwidgetmenu.cc           |    1 +
 glom/utility_widgets/notebooklabelglom.cc          |    2 +
 40 files changed, 98 insertions(+), 14 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e30dd49..ae6980d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,47 @@
+2010-10-08  David King  <davidk openismus com>
+
+	Remove some unnecessary includes
+
+	* glom/bakery/app.h:
+	* glom/base_db_table.h:
+	* glom/base_db_table_data.h:
+	* glom/box_db_table.h:
+	* glom/libglom/sharedptr.h:
+	* glom/mode_design/fields/combo_fieldtype.h:
+	* glom/mode_design/relationships_overview/
+	  dialog_relationships_overview.cc: Remove some unnecessary includes.
+
+	* glom/bakery/app_withdoc_gtk.cc:
+	* glom/base_db_table_data.cc:
+	* glom/glom_privs.cc:
+	* glom/import_csv/csv_parser.cc:
+	* glom/import_csv/dialog_import_csv.cc:
+	* glom/import_csv/dialog_import_csv_progress.cc:
+	* glom/libglom/connectionpool.cc:
+	* glom/libglom/connectionpool_backends/postgres.cc:
+	* glom/libglom/connectionpool_backends/postgres_self.cc:
+	* glom/libglom/connectionpool_backends/sqlite.cc:
+	* glom/libglom/data_structure/field.cc:
+	* glom/libglom/document/bakery/document.cc:
+	* glom/libglom/document/bakery/document_xml.cc:
+	* glom/libglom/document/document.cc:
+	* glom/libglom/python_embed/py_glom_record.cc:
+	* glom/mode_data/notebook_data.cc:
+	* glom/mode_design/dialog_database_preferences.cc:
+	* glom/mode_design/iso_codes.cc:
+	* glom/mode_design/layout/combobox_fields.cc:
+	* glom/mode_design/layout/dialog_layout_calendar_related.cc:
+	* glom/mode_design/layout/dialog_layout_list_related.cc:
+	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
+	* glom/mode_design/translation/combobox_locale.cc:
+	* glom/mode_design/translation/dialog_identify_original.cc:
+	* glom/navigation/box_tables.cc:
+	* glom/print_layout/canvas_layout_item.cc:
+	* glom/python_embed/glom_python.cc:
+	* glom/utility_widgets/flowtable_dnd.cc:
+	* glom/utility_widgets/layoutwidgetmenu.cc:
+	* glom/utility_widgets/notebooklabelglom.cc: Add iostream include.
+
 2010-10-05  David King  <davidk openismus com>
 
 	Avoid uninitialized variables in CanvasGroupGrid
diff --git a/glom/bakery/app.h b/glom/bakery/app.h
index 4d8dc3f..d486dd9 100644
--- a/glom/bakery/app.h
+++ b/glom/bakery/app.h
@@ -22,8 +22,6 @@
 #include <glibmm/object.h>
 
 #include <vector>
-#include <list>
-#include <map>
 
 namespace GlomBakery
 {
diff --git a/glom/bakery/app_withdoc_gtk.cc b/glom/bakery/app_withdoc_gtk.cc
index 8126f4b..a03cf0c 100644
--- a/glom/bakery/app_withdoc_gtk.cc
+++ b/glom/bakery/app_withdoc_gtk.cc
@@ -28,6 +28,7 @@
 #include <gtkmm/aboutdialog.h>
 #include <giomm.h>
 #include <algorithm>
+#include <iostream>
 
 #include "config.h"
 
diff --git a/glom/base_db_table.h b/glom/base_db_table.h
index 1050c95..1aa3912 100644
--- a/glom/base_db_table.h
+++ b/glom/base_db_table.h
@@ -24,7 +24,6 @@
 
 #include <glom/base_db.h>
 #include <libglom/data_structure/field.h>
-#include <algorithm> //find_if used in various places.
 
 namespace Glom
 {
diff --git a/glom/base_db_table_data.cc b/glom/base_db_table_data.cc
index 9944fa6..0d6ccba 100644
--- a/glom/base_db_table_data.cc
+++ b/glom/base_db_table_data.cc
@@ -26,6 +26,7 @@
 #include <glom/utils_ui.h>
 #include <libglom/db_utils.h>
 #include <sstream>
+#include <iostream>
 #include <glibmm/i18n.h>
 
 namespace Glom
diff --git a/glom/base_db_table_data.h b/glom/base_db_table_data.h
index ea4f5cd..0e53b6a 100644
--- a/glom/base_db_table_data.h
+++ b/glom/base_db_table_data.h
@@ -24,7 +24,6 @@
 
 #include "base_db_table.h"
 #include <libglom/data_structure/field.h>
-#include <algorithm> //find_if used in various places.
 
 namespace Glom
 {
diff --git a/glom/box_db_table.h b/glom/box_db_table.h
index d7002e2..a5957b5 100644
--- a/glom/box_db_table.h
+++ b/glom/box_db_table.h
@@ -26,7 +26,6 @@
 #include <glom/base_db_table.h>
 #include <libglom/data_structure/field.h>
 #include <gtkmm/builder.h>
-#include <algorithm> //find_if used in various places.
 
 namespace Glom
 {
diff --git a/glom/import_csv/csv_parser.cc b/glom/import_csv/csv_parser.cc
index f4af1c7..632fe59 100644
--- a/glom/import_csv/csv_parser.cc
+++ b/glom/import_csv/csv_parser.cc
@@ -22,6 +22,7 @@
 #include "csv_parser.h"
 
 #include <cerrno>
+#include <iostream>
 
 // On Windows, "iconv" seems to be a define for "libiconv", breaking the Glib::IConv::iconv() call.
 #ifdef iconv
diff --git a/glom/import_csv/dialog_import_csv.cc b/glom/import_csv/dialog_import_csv.cc
index 4b45afe..241c659 100644
--- a/glom/import_csv/dialog_import_csv.cc
+++ b/glom/import_csv/dialog_import_csv.cc
@@ -29,6 +29,7 @@
 #include <glom/utils_ui.h>
 #include <glibmm/i18n.h>
 #include <cerrno>
+#include <iostream>
 
 namespace
 {
diff --git a/glom/import_csv/dialog_import_csv_progress.cc b/glom/import_csv/dialog_import_csv_progress.cc
index 3c0caff..4dbd0b8 100644
--- a/glom/import_csv/dialog_import_csv_progress.cc
+++ b/glom/import_csv/dialog_import_csv_progress.cc
@@ -25,6 +25,8 @@
 #include <libglom/data_structure/glomconversions.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/libglom/connectionpool.cc b/glom/libglom/connectionpool.cc
index f65870b..e364283 100644
--- a/glom/libglom/connectionpool.cc
+++ b/glom/libglom/connectionpool.cc
@@ -40,6 +40,8 @@
 
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 
 #ifndef G_OS_WIN32
 static EpcProtocol publish_protocol = EPC_PROTOCOL_HTTPS;
diff --git a/glom/libglom/connectionpool_backends/postgres.cc b/glom/libglom/connectionpool_backends/postgres.cc
index a3de73b..cf7106f 100644
--- a/glom/libglom/connectionpool_backends/postgres.cc
+++ b/glom/libglom/connectionpool_backends/postgres.cc
@@ -28,6 +28,8 @@
 #include <glib/gstdio.h> /* For g_rename(). TODO: Wrap this in glibmm? */
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 // Uncomment to see debug messages
 //#define GLOM_CONNECTION_DEBUG
 
diff --git a/glom/libglom/connectionpool_backends/postgres_self.cc b/glom/libglom/connectionpool_backends/postgres_self.cc
index 35674ed..dcafbae 100644
--- a/glom/libglom/connectionpool_backends/postgres_self.cc
+++ b/glom/libglom/connectionpool_backends/postgres_self.cc
@@ -28,6 +28,7 @@
 
 #include <libglom/gst-package.h>
 #include <sstream> //For stringstream
+#include <iostream>
 
 #ifdef G_OS_WIN32
 # include <windows.h>
diff --git a/glom/libglom/connectionpool_backends/sqlite.cc b/glom/libglom/connectionpool_backends/sqlite.cc
index fe10e90..08ebc73 100644
--- a/glom/libglom/connectionpool_backends/sqlite.cc
+++ b/glom/libglom/connectionpool_backends/sqlite.cc
@@ -24,6 +24,8 @@
 
 #include <giomm/file.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/libglom/data_structure/field.cc b/glom/libglom/data_structure/field.cc
index 2d895e1..34238b4 100644
--- a/glom/libglom/data_structure/field.cc
+++ b/glom/libglom/data_structure/field.cc
@@ -24,6 +24,8 @@
 #include <libglom/utils.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/libglom/data_structure/numeric_format.h b/glom/libglom/data_structure/numeric_format.h
index f54c0a8..5814e68 100644
--- a/glom/libglom/data_structure/numeric_format.h
+++ b/glom/libglom/data_structure/numeric_format.h
@@ -22,7 +22,6 @@
 #define GLOM_DATA_STRUCTURE_NUMERIC_FORMAT_H
 
 #include <glibmm/ustring.h>
-#include <map>
 
 namespace Glom
 {
diff --git a/glom/libglom/document/bakery/document.cc b/glom/libglom/document/bakery/document.cc
index 0931673..08459f1 100644
--- a/glom/libglom/document/bakery/document.cc
+++ b/glom/libglom/document/bakery/document.cc
@@ -19,7 +19,7 @@
 #include "config.h"
 #include <libglom/document/bakery/document.h>
 #include <giomm.h>
-//#include <fstream>
+#include <iostream>
 #include <glibmm/i18n-lib.h>
 
 namespace GlomBakery
diff --git a/glom/libglom/document/bakery/document.h b/glom/libglom/document/bakery/document.h
index 0f185de..9ea69f6 100644
--- a/glom/libglom/document/bakery/document.h
+++ b/glom/libglom/document/bakery/document.h
@@ -21,7 +21,6 @@
 
 #include <glibmm.h>
 #include <libglom/document/bakery/view/viewbase.h>
-#include <iostream>
 
 namespace GlomBakery
 {
diff --git a/glom/libglom/document/bakery/document_xml.cc b/glom/libglom/document/bakery/document_xml.cc
index 558ff07..9649128 100644
--- a/glom/libglom/document/bakery/document_xml.cc
+++ b/glom/libglom/document/bakery/document_xml.cc
@@ -17,7 +17,7 @@
  */
 
 #include <libglom/document/bakery/document_xml.h>
-
+#include <iostream>
 
 namespace GlomBakery
 {
diff --git a/glom/libglom/document/document.cc b/glom/libglom/document/document.cc
index b2cc40c..8bb492d 100644
--- a/glom/libglom/document/document.cc
+++ b/glom/libglom/document/document.cc
@@ -41,6 +41,7 @@
 //#include <libglom/libglom_config.h> //To get GLOM_DTD_INSTALL_DIR - dependent on configure prefix.
 #include <algorithm> //For std::find_if().
 #include <sstream> //For stringstream
+#include <iostream>
 
 namespace Glom
 {
diff --git a/glom/libglom/privs.cc b/glom/libglom/privs.cc
index 474f846..75942c5 100644
--- a/glom/libglom/privs.cc
+++ b/glom/libglom/privs.cc
@@ -24,6 +24,8 @@
 #include <libglom/utils.h>
 //#include <glom/application.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/libglom/python_embed/py_glom_record.cc b/glom/libglom/python_embed/py_glom_record.cc
index 1ba6454..c1b7f22 100644
--- a/glom/libglom/python_embed/py_glom_record.cc
+++ b/glom/libglom/python_embed/py_glom_record.cc
@@ -32,6 +32,8 @@
 #include <libglom/data_structure/field.h>
 #include <glibmm/ustring.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/libglom/sharedptr.h b/glom/libglom/sharedptr.h
index 3b94c1a..f69c3a9 100644
--- a/glom/libglom/sharedptr.h
+++ b/glom/libglom/sharedptr.h
@@ -23,7 +23,8 @@
 #ifndef GLOM_SHAREDPTR_H
 #define GLOM_SHAREDPTR_H
 
-#include <iostream> //Just for debugging.
+//#include <iostream> //Just for debugging.
+#include <cstddef> // For size_t.
 
 namespace Glom
 {
diff --git a/glom/mode_data/notebook_data.cc b/glom/mode_data/notebook_data.cc
index 1c30132..0d1fd6d 100644
--- a/glom/mode_data/notebook_data.cc
+++ b/glom/mode_data/notebook_data.cc
@@ -22,6 +22,8 @@
 #include <libglom/data_structure/glomconversions.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 #ifdef GLOM_ENABLE_MAEMO
 #include <hildonmm/program.h>
 #endif
diff --git a/glom/mode_design/dialog_database_preferences.cc b/glom/mode_design/dialog_database_preferences.cc
index af7ca02..a724840 100644
--- a/glom/mode_design/dialog_database_preferences.cc
+++ b/glom/mode_design/dialog_database_preferences.cc
@@ -27,6 +27,8 @@
 #include <gtksourceviewmm/sourcelanguagemanager.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/mode_design/fields/combo_fieldtype.h b/glom/mode_design/fields/combo_fieldtype.h
index 0760815..833bf83 100644
--- a/glom/mode_design/fields/combo_fieldtype.h
+++ b/glom/mode_design/fields/combo_fieldtype.h
@@ -25,7 +25,6 @@
 #include <gtkmm/combobox.h>
 #include <gtkmm/liststore.h>
 #include <libgdamm.h>
-#include <algorithm> //For std::find_if
 #include <gtkmm/builder.h>
 
 namespace Glom
diff --git a/glom/mode_design/iso_codes.cc b/glom/mode_design/iso_codes.cc
index 6272a23..961753c 100644
--- a/glom/mode_design/iso_codes.cc
+++ b/glom/mode_design/iso_codes.cc
@@ -26,6 +26,8 @@
 #include <libglom/utils.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/mode_design/layout/combobox_fields.cc b/glom/mode_design/layout/combobox_fields.cc
index c17e462..a5ef082 100644
--- a/glom/mode_design/layout/combobox_fields.cc
+++ b/glom/mode_design/layout/combobox_fields.cc
@@ -21,6 +21,8 @@
 #include <glom/mode_design/layout/combobox_fields.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/mode_design/layout/dialog_layout_calendar_related.cc b/glom/mode_design/layout/dialog_layout_calendar_related.cc
index bc1b12e..c8bd539 100644
--- a/glom/mode_design/layout/dialog_layout_calendar_related.cc
+++ b/glom/mode_design/layout/dialog_layout_calendar_related.cc
@@ -27,6 +27,8 @@
 #include <gtkmm/togglebutton.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/mode_design/layout/dialog_layout_list_related.cc b/glom/mode_design/layout/dialog_layout_list_related.cc
index 400b7e8..c30380f 100644
--- a/glom/mode_design/layout/dialog_layout_list_related.cc
+++ b/glom/mode_design/layout/dialog_layout_list_related.cc
@@ -28,6 +28,8 @@
 #include <gtkmm/togglebutton.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/mode_design/print_layouts/window_print_layout_edit.cc b/glom/mode_design/print_layouts/window_print_layout_edit.cc
index 7027aa6..d046b9b 100644
--- a/glom/mode_design/print_layouts/window_print_layout_edit.cc
+++ b/glom/mode_design/print_layouts/window_print_layout_edit.cc
@@ -24,11 +24,12 @@
 #include <glom/print_layout/canvas_layout_item.h>
 #include <libglom/data_structure/layout/layoutitem_line.h>
 #include <libglom/data_structure/layout/layoutitem_portal.h>
-//#include <libgnome/gnome-i18n.h>
 #include <libglom/utils.h> //For bold_message()).
 #include <gtkmm/scrolledwindow.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/mode_design/relationships_overview/dialog_relationships_overview.cc b/glom/mode_design/relationships_overview/dialog_relationships_overview.cc
index 53ab212..2dbbc76 100644
--- a/glom/mode_design/relationships_overview/dialog_relationships_overview.cc
+++ b/glom/mode_design/relationships_overview/dialog_relationships_overview.cc
@@ -28,7 +28,7 @@
 #include "glom/application.h"
 #include <goocanvas.h>
 #include <glibmm/i18n.h>
-#include <algorithm>
+#include <iostream>
 
 namespace Glom
 {
diff --git a/glom/mode_design/translation/combobox_locale.cc b/glom/mode_design/translation/combobox_locale.cc
index 72fcbb8..b97ed76 100644
--- a/glom/mode_design/translation/combobox_locale.cc
+++ b/glom/mode_design/translation/combobox_locale.cc
@@ -21,6 +21,8 @@
 #include "combobox_locale.h"
 #include <glom/mode_design/iso_codes.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/mode_design/translation/dialog_identify_original.cc b/glom/mode_design/translation/dialog_identify_original.cc
index b89523d..4d7c9d5 100644
--- a/glom/mode_design/translation/dialog_identify_original.cc
+++ b/glom/mode_design/translation/dialog_identify_original.cc
@@ -23,6 +23,8 @@
 #include <glom/utils_ui.h> //For bold_message()).
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/navigation/box_tables.cc b/glom/navigation/box_tables.cc
index 9932c58..a79bccc 100644
--- a/glom/navigation/box_tables.cc
+++ b/glom/navigation/box_tables.cc
@@ -24,6 +24,8 @@
 #include <glom/application.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/print_layout/canvas_layout_item.cc b/glom/print_layout/canvas_layout_item.cc
index 0d9e3c1..b217833 100644
--- a/glom/print_layout/canvas_layout_item.cc
+++ b/glom/print_layout/canvas_layout_item.cc
@@ -35,8 +35,9 @@
 #include <libglom/data_structure/layout/report_parts/layoutitem_fieldsummary.h>
 #include <libglom/data_structure/glomconversions.h>
 #include <glibmm/i18n.h>
-#include <math.h>
+#include <cmath>
 #include <algorithm> //For std::max().
+#include <iostream>
 
 namespace Glom
 {
diff --git a/glom/python_embed/glom_python.cc b/glom/python_embed/glom_python.cc
index 9965e72..2483a95 100644
--- a/glom/python_embed/glom_python.cc
+++ b/glom/python_embed/glom_python.cc
@@ -37,6 +37,8 @@
 
 #include <gtkmm/messagedialog.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/utility_widgets/flowtable_dnd.cc b/glom/utility_widgets/flowtable_dnd.cc
index 1889e2d..4e26d95 100644
--- a/glom/utility_widgets/flowtable_dnd.cc
+++ b/glom/utility_widgets/flowtable_dnd.cc
@@ -25,6 +25,8 @@
 #include "layouttoolbarbutton.h"
 #include <glom/mode_data/buttonglom.h>
 
+#include <iostream>
+
 namespace Glom
 {
 
diff --git a/glom/utility_widgets/layoutwidgetmenu.cc b/glom/utility_widgets/layoutwidgetmenu.cc
index ad50069..132d379 100644
--- a/glom/utility_widgets/layoutwidgetmenu.cc
+++ b/glom/utility_widgets/layoutwidgetmenu.cc
@@ -22,6 +22,7 @@
 #include <glibmm/i18n.h>
 #include <glom/application.h>
 #include "../mode_data/flowtablewithfields.h"
+#include <iostream>
 
 namespace Glom
 {
diff --git a/glom/utility_widgets/notebooklabelglom.cc b/glom/utility_widgets/notebooklabelglom.cc
index dcdf0a8..8514ca6 100644
--- a/glom/utility_widgets/notebooklabelglom.cc
+++ b/glom/utility_widgets/notebooklabelglom.cc
@@ -22,6 +22,8 @@
 #include <glom/application.h>
 #include <glibmm/i18n.h>
 
+#include <iostream>
+
 namespace Glom
 {
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]