comparison mcabber/src/screen.c @ 929:f4bf564893b5

Fix ncurses #include The ncurses.h header file wasn't found on some systems.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 08 Jul 2006 09:33:54 +0200
parents c65b71dcda94
children a75f7a13df7b
comparison
equal deleted inserted replaced
928:dcd6d23d7a13 929:f4bf564893b5
21 */ 21 */
22 22
23 #include <stdio.h> 23 #include <stdio.h>
24 #include <stdlib.h> 24 #include <stdlib.h>
25 #include <string.h> 25 #include <string.h>
26 #include <ncurses.h>
27 #include <panel.h> 26 #include <panel.h>
28 #include <time.h> 27 #include <time.h>
29 #include <ctype.h> 28 #include <ctype.h>
30 #include <locale.h> 29 #include <locale.h>
31 #include <langinfo.h> 30 #include <langinfo.h>
31 #include <config.h>
32
33 #if HAVE_NCURSESW_NCURSES_H
34 # include <ncursesw/ncurses.h>
35 #elif HAVE_NCURSES_NCURSES_H
36 # include <ncurses/ncurses.h>
37 #elif HAVE_NCURSES_H
38 # include <ncurses.h>
39 #else
40 # include <curses.h>
41 #endif
32 42
33 #include "screen.h" 43 #include "screen.h"
34 #include "hbuf.h" 44 #include "hbuf.h"
35 #include "commands.h" 45 #include "commands.h"
36 #include "compl.h" 46 #include "compl.h"