Mercurial > hg
changeset 936:3e592fb33aab
Fix ncurses panel #include too
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 08 Jul 2006 15:50:33 +0200 |
parents | 97e6a6da2b2c |
children | 548def60b810 |
files | mcabber/src/screen.c mcabber/src/screen.h |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/screen.c Sat Jul 08 15:32:55 2006 +0200 +++ b/mcabber/src/screen.c Sat Jul 08 15:50:33 2006 +0200 @@ -23,7 +23,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <panel.h> #include <time.h> #include <ctype.h> #include <locale.h>
--- a/mcabber/src/screen.h Sat Jul 08 15:32:55 2006 +0200 +++ b/mcabber/src/screen.h Sat Jul 08 15:50:33 2006 +0200 @@ -5,12 +5,13 @@ #if HAVE_NCURSESW_NCURSES_H # include <ncursesw/ncurses.h> +# include <ncursesw/panel.h> #elif HAVE_NCURSES_NCURSES_H # include <ncurses/ncurses.h> -#elif HAVE_NCURSES_H +# include <ncurses/panel.h> +#else # include <ncurses.h> -#else -# include <curses.h> +# include <panel.h> #endif #include "logprint.h"