After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 106196 - gnome-accessibility-keyboard-properties.c fails to compile on Solaris 8/9 Intel
gnome-accessibility-keyboard-properties.c fails to compile on Solaris 8/9 Intel
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] Keyboard Accessibility
2.2.x
Other Solaris
: High normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 108850 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-02-15 22:08 UTC by the_h1ghlander
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description the_h1ghlander 2003-02-15 22:08:02 UTC
Solaris 8 and 9 on Intel, gcc-3.2.1, openwindows includes

the file

capplets/accessibility/keyboard/gnome-accessibility-keyboard-properties.c

fails to compile because the include file <X11/XKBlib.h> expects
<X11/Xlib.h> to be included.  I added this conditional flag to
include <X11/Xlib.h> and the compile completed. This patch fixed
the problem.

gdiff -Nru
capplets/accessibility/keyboard/gnome-accessibility-keyboard-properties.c.ORIG
capplets>
---
capplets/accessibility/keyboard/gnome-accessibility-keyboard-properties.c.ORIG
2003-02-15 16:09:36.463921000 -0500
+++
capplets/accessibility/keyboard/gnome-accessibility-keyboard-properties.c
2003-02-15 14:55:47.751024000 -0500
@@ -33,6 +33,9 @@
 #include "accessibility-keyboard.h"
 
 #ifdef HAVE_X11_EXTENSIONS_XKB_H
+#  ifdef __sun
+#    include <X11/Xlib.h>
+#  endif
 #  include <X11/XKBlib.h>
 #  include <X11/extensions/XKBstr.h>
 #  include <gdk/gdk.h>
Comment 1 Kjartan Maraas 2003-04-29 22:30:16 UTC
*** Bug 108850 has been marked as a duplicate of this bug. ***
Comment 2 Kjartan Maraas 2003-04-30 19:56:54 UTC
Commited to both branches.