comparison console/libgnt/gntmain.c @ 14428:f3645fe3da47

[gaim-migrate @ 17142] Let's find the ncurses.h we're after, without a bunch of hacking in individual files for it. This checks for some ncursesw specific stuff, and now will not build gntgaim unless we have ncursesw.h. This could be adapted to just add a define in case we want to support non ncursesw, but this is more than adequate for the time being. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sun, 03 Sep 2006 18:44:11 +0000
parents 3a91ef295cbb
children 0ed8b285a44b
comparison
equal deleted inserted replaced
14427:1e00e8245720 14428:f3645fe3da47
1 #define _XOPEN_SOURCE 1 #define _XOPEN_SOURCE
2 #define _XOPEN_SOURCE_EXTENDED 2 #define _XOPEN_SOURCE_EXTENDED
3 3
4 #include "config.h" 4 #include "config.h"
5 5
6 #ifdef HAVE_NCURSESW_INC
7 #include <ncursesw/panel.h>
8 #else
9 #include <panel.h> 6 #include <panel.h>
10 #endif
11 7
12 #include <gmodule.h> 8 #include <gmodule.h>
13 9
14 #include "gnt.h" 10 #include "gnt.h"
15 #include "gntbox.h" 11 #include "gntbox.h"