summaryrefslogtreecommitdiff
path: root/shells/flash/files/patch-modules__countdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'shells/flash/files/patch-modules__countdown.c')
-rw-r--r--shells/flash/files/patch-modules__countdown.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/shells/flash/files/patch-modules__countdown.c b/shells/flash/files/patch-modules__countdown.c
new file mode 100644
index 000000000000..b52941e26707
--- /dev/null
+++ b/shells/flash/files/patch-modules__countdown.c
@@ -0,0 +1,20 @@
+--- modules/countdown.c Wed Oct 29 13:42:28 1997
++++ modules/countdown.c.new Sun Jan 2 20:50:16 2000
+@@ -4,8 +4,17 @@
+
+ */
+
++#ifdef HAVE_CONFIG_H
++#include "../config.h"
++#endif
++
++#ifdef HAVE_NCURSES_NCURSES_H
++#include <ncurses/ncurses.h>
++#include <ncurses/term.h>
++#else
+ #include <curses.h>
+ #include <term.h>
++#endif
+
+ #include <stdlib.h>
+ #include <stdio.h>