--- 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"