[glom] build: std:cerr needs <iostream>



commit 6d5db9687e9aa5bd8fc324b5fa6adea3faae5fb0
Author: Antoine Jacoutot <ajacoutot gnome org>
Date:   Wed Apr 11 16:56:38 2012 +0200

    build: std:cerr needs <iostream>
    
    This is necessary on OpenBSD.
    Bug #673914

 ChangeLog                                          |    7 +++++++
 glom/libglom/python_embed/py_glom_relatedrecord.cc |    2 ++
 glom/main.cc                                       |    2 ++
 glom/main_local_options.cc                         |    2 ++
 4 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d6f96a8..868f43a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-04-12  Antoine Jacoutot  <ajacoutot gnome org>
+
+	build: std:cerr needs <iostream>
+
+	This is necessary on OpenBSD.
+	Bug #673914
+
 1.22.0:
 
 2012-04-11  Murray Cumming  <murrayc murrayc com>
diff --git a/glom/libglom/python_embed/py_glom_relatedrecord.cc b/glom/libglom/python_embed/py_glom_relatedrecord.cc
index d2a2585..98ec0ad 100644
--- a/glom/libglom/python_embed/py_glom_relatedrecord.cc
+++ b/glom/libglom/python_embed/py_glom_relatedrecord.cc
@@ -18,6 +18,8 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#include <iostream>
+
 #include <libglom/python_embed/py_glom_relatedrecord.h>
 #include <libglom/python_embed/py_glom_record.h>
 #include <libglom/python_embed/pygdavalue_conversions.h> //For pygda_value_as_pyobject().
diff --git a/glom/main.cc b/glom/main.cc
index 0dc8630..6a90bf8 100644
--- a/glom/main.cc
+++ b/glom/main.cc
@@ -20,6 +20,8 @@
 
 #include "config.h"
 
+#include <iostream>
+
 //We use Python for calculated fields.
 //#include <Python.h> //Include it before anything else to avoid "_POSIX_C_SOURCE redefined".
 #include <boost/python.hpp>
diff --git a/glom/main_local_options.cc b/glom/main_local_options.cc
index 2e123d3..35ea77d 100644
--- a/glom/main_local_options.cc
+++ b/glom/main_local_options.cc
@@ -20,6 +20,8 @@
 
 #include "config.h"
 
+#include <iostream>
+
 #include <glom/main_local_options.h>
 
 // For sanity checks:



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