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.
This commit is contained in:
Elijah Newren 2006-01-13 21:36:10 +00:00 committed by Elijah Newren
parent fea6191473
commit f9d11c0be6
2 changed files with 8 additions and 0 deletions

View File

@ -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> Fri Jan 13 14:40:19 2006 Søren Sandmann <sandmann@redhat.com>
* configure.in: Add a dependency on libcm when building with * configure.in: Add a dependency on libcm when building with

View File

@ -29,6 +29,7 @@
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <string.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 */ #include <X11/Xutil.h> /* Just for the definition of the various gravities */
#ifdef HAVE_BACKTRACE #ifdef HAVE_BACKTRACE