summaryrefslogtreecommitdiff
path: root/hw/xfree86/utils/xorgcfg
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-08-25 04:09:45 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-08-25 04:09:45 +0000
commit344a24b6229f477c892dd855546391bc1e091bd7 (patch)
treef043ba7552041883949e4fb3c455586e4f0a9a89 /hw/xfree86/utils/xorgcfg
parent0711502f1847ed461672b9842218b9afa9d349ed (diff)
Use system curses library on Solaris for xorgcfg text mode.
Diffstat (limited to 'hw/xfree86/utils/xorgcfg')
-rw-r--r--hw/xfree86/utils/xorgcfg/text-mode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/xfree86/utils/xorgcfg/text-mode.c b/hw/xfree86/utils/xorgcfg/text-mode.c
index 38e87e78b..1c7f69f4f 100644
--- a/hw/xfree86/utils/xorgcfg/text-mode.c
+++ b/hw/xfree86/utils/xorgcfg/text-mode.c
@@ -1,3 +1,4 @@
+/* $XdotOrg: $ */
/*
* Copyright (c) 2000 by Conectiva S.A. (http://www.conectiva.com)
*
@@ -32,7 +33,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifdef _SCO_DS
+#if defined(_SCO_DS) || (defined(sun) && defined(__SVR4))
#include <curses.h>
#else
#include <ncurses.h>