[glom] Remove some unnecessary includes



commit 6db7da0fe621e09207cd297cea8679fdf5156baa
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/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 +
 39 files changed, 98 insertions(+), 13 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c43ce9c..9f83e2a 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-07  Murray Cumming  <murrayc murrayc com>
 
 	Choices: Do not offer editing formatting features when choosign extra fields.
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 5e15991..a73983d 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 faa9f6e..fc0a830 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 de1dc89..d315e05 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/box_db_table.h b/glom/box_db_table.h
index 9bc2031..e266102 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 3ada20f..40e8c51 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 8862e37..2cf937b 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 e334678..21f9bab 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 f558ece..b052340 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 2ab527b..b9c7637 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 2d1d6f9..516d5d7 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 99b13ea..1e61dae 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 76e868f..122be6b 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 d6d9364..567c7b4 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 7a98a5a..74b856b 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 0f53bb9..d71d8e4 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 108e470..bdb77ac 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 b90fe2d..41b8c7f 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 3586a75..336c5f4 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 bae0336..5cd33a4 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 165227f..5bad489 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 639b158..6695ff4 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 e1907e1..285baa4 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 2d0a861..cc36236 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 e104cd7..13481e3 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 d7acad9..85e8a34 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 17f0ace..ec0dd2c 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 803df01..c1bdc7a 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 ce149ce..a238026 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 e5d6077..4b93706 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 d60eb1f..de2893b 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 f651ffe..4f86202 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 dc10f86..09f9e79 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]