[glom/glom-1-20] Add a unistd.h include to fix the mingw MS Windows build.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-20] Add a unistd.h include to fix the mingw MS Windows build.
- Date: Tue, 6 Mar 2012 09:52:10 +0000 (UTC)
commit 3f5ee9593c25f461cd721e311d579e2cd93b4549
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Mar 1 12:47:27 2012 +0100
Add a unistd.h include to fix the mingw MS Windows build.
* glom/glom_create_from_example.cc: include unistd.h for getpass().
Bug #671120 (alien)
ChangeLog | 7 +++++++
glom/glom_create_from_example.cc | 2 ++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2727a68..314ac8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-03-01 Murray Cumming <murrayc murrayc com>
+ Add a unistd.h include to fix the mingw MS Windows build.
+
+ * glom/glom_create_from_example.cc: include unistd.h for getpass().
+ Bug #671120 (alien)
+
+2012-03-01 Murray Cumming <murrayc murrayc com>
+
More windows build fixes.
* glom/libglom/connectionpool_backends/postgres.cc: Add an include and change
diff --git a/glom/glom_create_from_example.cc b/glom/glom_create_from_example.cc
index cc69008..bfd6e6d 100644
--- a/glom/glom_create_from_example.cc
+++ b/glom/glom_create_from_example.cc
@@ -38,6 +38,8 @@
#include <iostream>
#include <stdexcept>
+#include <unistd.h> //For getpass().
+
#include <glibmm/i18n.h>
class GlomCreateOptionGroup : public Glib::OptionGroup
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]