NetBSD also has curses.h instead of ncurses.h. (TODO: Maybe instead of

checking for SCO, UnixWare, Sun SVR4 and NetBSD, the curses.h versus
    ncurses.h should be tested in configure.)
This commit is contained in:
Jeremy C. Reed 2006-05-24 22:58:03 +00:00
parent 9477e5e0be
commit 6930794423
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2006-05-24 Jeremy C. Reed <reed@reedmedia.net>
* hw/xfree86/utils/xorgcfg/text-mode.c:
NetBSD also has curses.h instead of ncurses.h. (TODO:
Maybe instead of checking for SCO, UnixWare, Sun SVR4 and
NetBSD, the curses.h versus ncurses.h should be tested in
configure.)
2006-05-24 Jeremy C. Reed <reed@reedmedia.net>
* configure.ac:

View File

@ -1,4 +1,4 @@
/* $XdotOrg: xserver/xorg/hw/xfree86/utils/xorgcfg/text-mode.c,v 1.7 2006/04/18 17:28:44 spyderous Exp $ */
/* $XdotOrg: xserver/xorg/hw/xfree86/utils/xorgcfg/text-mode.c,v 1.8 2006/05/03 17:50:10 ajax Exp $ */
/*
* Copyright (c) 2000 by Conectiva S.A. (http://www.conectiva.com)
*
@ -34,7 +34,7 @@
#include <stdlib.h>
#include <string.h>
#if defined(__SCO__) || defined(__UNIXWARE__) || \
(defined(sun) && defined(__SVR4))
(defined(sun) && defined(__SVR4)) || defined(__NetBSD__)
#include <curses.h>
#else
#include <ncurses.h>