summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Mooney <murrayc@murrayc.com>2008-03-10 15:21:44 +0000
committerMurray Cumming <murrayc@src.gnome.org>2008-03-10 15:21:44 +0000
commit01128a410f5c707df2c3e53ece56bd90d50f20fc (patch)
tree53565631cce2578797c3b743ab213cf5e75fd282
parent60160f9bbc557ddfda72a357a9a27986cfc234cf (diff)
downloadglibmm-01128a410f5c707df2c3e53ece56bd90d50f20fc.tar.gz
Include string.h to fix the build with SUN CC. Bug #498438.
2008-03-10 Tim Mooney <murrayc@murrayc.com> * glib/glibmm/object.cc: Include string.h to fix the build with SUN CC. Bug #498438. svn path=/trunk/; revision=639
-rw-r--r--ChangeLog6
-rw-r--r--glib/glibmm/object.cc2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b6694dbb..43f0e5fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-10 Tim Mooney <murrayc@murrayc.com>
+
+ * glib/glibmm/object.cc: Include string.h to fix the build with
+ SUN CC.
+ Bug #498438.
+
2008-03-07 Jonathon Jongsma <jjongsma@gnome.org>
* glib/glibmm.h: add an include for checksum.h which was added in the 2.15.x
diff --git a/glib/glibmm/object.cc b/glib/glibmm/object.cc
index 3c58de5e..b2bcce55 100644
--- a/glib/glibmm/object.cc
+++ b/glib/glibmm/object.cc
@@ -29,6 +29,8 @@
#include <cstdarg>
#include <cstring>
+#include <string.h>
+
//Weak references:
//I'm not sure what the point of these are apart from being a hacky way out of circular references,
//but maybe we could make it easier to use them by making a Java Reference Object -style class like so: