diff --git a/ChangeLog b/ChangeLog index 71bacaa95..56eeeb244 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,14 @@ -2006-01-16 Elijah Newren +2006-01-16 Elijah Newren + + * src/window-props.c: manually define HOST_NAME_MAX if not already + defined to fix Solaris compilation issue. Caught by Damien + Carbery, patch from Havoc. #326745 + +2006-01-16 Elijah Newren * configure.in: post-release version bump to 2.13.34 -2006-01-16 Elijah Newren +2006-01-16 Elijah Newren * NEWS: 2.13.21 release @@ -17,7 +23,7 @@ Mon Jan 16 11:55:20 2006 Søren Sandmann If no valid window is found in the MRU list, then set focus to the desktop window. (#317405) -2006-01-15 Elijah Newren +2006-01-15 Elijah Newren Fix accidental overzealous focus holding by the terminal introduced by the original patch in bug 326159. Windows launched @@ -40,7 +46,7 @@ Mon Jan 16 11:55:20 2006 Søren Sandmann * src/keybindings.c (handle_panel_keybinding): Remove some unneeded code. -2006-01-15 Elijah Newren +2006-01-15 Elijah Newren Patch from Jens Granseuer to fix more build issues with gcc 2.95. #327050. diff --git a/src/window-props.c b/src/window-props.c index 7eff2ac34..0d86c035b 100644 --- a/src/window-props.c +++ b/src/window-props.c @@ -28,6 +28,10 @@ #include #include #include +#ifndef HOST_NAME_MAX +/* Solaris headers apparently don't define this so do so manually; #326745 */ +#define HOST_NAME_MAX 255 +#endif typedef void (* InitValueFunc) (MetaDisplay *display, Atom property,