--- hexedit.h.orig	Mon Aug 31 20:50:50 1998
+++ hexedit.h	Sun Dec  6 15:36:13 1998
@@ -12,7 +12,11 @@
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#if HAVE_NCURSES_H
+#include <ncurses.h>
+#else
 #include <curses.h>
+#endif
 #include <ctype.h>
 #include <signal.h>
 #if HAVE_SYS_WAIT_H
