Make curses work under freebsd4 (by Vadim Shklyaev)
This commit is contained in:
parent
b6e2ea1384
commit
f5444c447c
@ -34,7 +34,7 @@
|
|||||||
// Even many system which mostly have C++-ready header files,
|
// Even many system which mostly have C++-ready header files,
|
||||||
// do not have C++-ready curses.h.
|
// do not have C++-ready curses.h.
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#ifdef __FreeBSD__
|
#if defined(__FreeBSD__) && (__FreeBSD__ < 4)
|
||||||
#include <ncurses/ncurses.h>
|
#include <ncurses/ncurses.h>
|
||||||
#else
|
#else
|
||||||
#include <curses.h>
|
#include <curses.h>
|
||||||
|
Reference in New Issue
Block a user