Check for ncurses headers on cygwin

This commit is contained in:
James Booth
2012-09-08 16:51:09 +01:00
parent 86d1ff605c
commit 8e0d8d2a86
7 changed files with 44 additions and 0 deletions

View File

@@ -39,10 +39,17 @@
* cols : 4
*/
#include "config.h"
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_NCURSES_H
#include <ncurses.h>
#endif
#ifdef HAVE_NCURSES_NCURSES_H
#include <ncurses/ncurses.h>
#endif
#include "common.h"
#include "command.h"