Commit 352db463 authored by deuce's avatar deuce
Browse files

Add new DEBIAN_HATES_YOU define for people using Debian where the "real"

ncurses.h is installed as /usr/include/ncursesw/ncurses.h
parent 61f57417
......@@ -42,6 +42,10 @@ ifeq ($(os),netbsd)
endif
endif
ifeq ($(shell [ -e /usr/include/ncursesw/ncurses.h ] ; then echo YES ; fi),YES)
CFLAGS += -DDEBIAN_HATES_YOU
endif
ifdef NEED_BITMAP
OBJS += $(MTOBJODIR)$(DIRSEP)bitmap_con$(OFILE)
endif
......
......@@ -34,14 +34,16 @@
#define NCURSES_WIDECHAR 1
#ifdef XCURSES
#include <xcurses.h>
#endif
#ifdef N_CURSES_LIB
#include <ncurses.h>
#endif
#if defined(CURSES_LIB) || (!defined(XCURSES)&&!defined(N_CURSES_LIB))
#include <curses.h>
#else
#ifdef N_CURSES_LIB
#include <ncurses.h>
#else
#ifdef DEBIAN_HATES_YOU
#include <ncursesw/ncurses.h>
#else
#include <curses.h>
#endif
#endif
#endif
#ifndef ACS_SBSD
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment