summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren gmail com>2006-01-13 21:36:10 +0000
committerElijah Newren <newren@src.gnome.org>2006-01-13 21:36:10 +0000
commitf9d11c0be6075aa62c940b9eabcb3457fc024a5e (patch)
tree381fa0e112ae8431eb4c7a728b0b8092149ce36f
parentfea6191473e0406e40f68dc754c54811f15f68f1 (diff)
downloadmetacity-f9d11c0be6075aa62c940b9eabcb3457fc024a5e.tar.gz
Patch from Damien Carbery. Fixes #326746.
2006-01-13 Elijah Newren <newren gmail com> Patch from Damien Carbery. Fixes #326746. * src/util.c: explicitly #include Xlib.h to fix a compilation issue on Solaris.
-rw-r--r--ChangeLog7
-rw-r--r--src/util.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d261cd75..6a016b8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-01-13 Elijah Newren <newren gmail com>
+
+ Patch from Damien Carbery. Fixes #326746.
+
+ * src/util.c: explicitly #include Xlib.h to fix a compilation
+ issue on Solaris.
+
Fri Jan 13 14:40:19 2006 Søren Sandmann <sandmann@redhat.com>
* configure.in: Add a dependency on libcm when building with
diff --git a/src/util.c b/src/util.c
index a7d03ea8..e5541582 100644
--- a/src/util.c
+++ b/src/util.c
@@ -29,6 +29,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
+#include <X11/Xlib.h> /* must explicitly be included for Solaris; #326746 */
#include <X11/Xutil.h> /* Just for the definition of the various gravities */
#ifdef HAVE_BACKTRACE