summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/solaris
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-08-22 10:14:11 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-08-22 10:14:11 -0700
commitcc78d977cac74fcfb7c9b27e7109a1e369018dd8 (patch)
tree1d9e4ceded7d9129ebee7b52d25f96015c6e399e /hw/xfree86/os-support/solaris
parent95b466e457542bfe08b0ed2bbb5db8d28a961cfd (diff)
Convert Solaris #ifdef's for <sys/kd.h> to AC_CHECK_HEADERS check
Upcoming virtual terminal support changes in Solaris kernel will provide <sys/kd.h> on SPARC too, so this gets us ready for them.
Diffstat (limited to 'hw/xfree86/os-support/solaris')
-rw-r--r--hw/xfree86/os-support/solaris/sun_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/solaris/sun_init.c b/hw/xfree86/os-support/solaris/sun_init.c
index 1f389cb40..b2237d919 100644
--- a/hw/xfree86/os-support/solaris/sun_init.c
+++ b/hw/xfree86/os-support/solaris/sun_init.c
@@ -29,7 +29,7 @@
#include "xf86.h"
#include "xf86Priv.h"
#include "xf86_OSlib.h"
-#if defined(__i386__) || defined(__i386) || defined(__x86)
+#ifdef HAVE_SYS_KD_H
# include <sys/kd.h>
#endif