summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/ncurses/ncurses/tinfo/lib_termcap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/ncurses/ncurses/tinfo/lib_termcap.c b/contrib/ncurses/ncurses/tinfo/lib_termcap.c
index 36c3cec2caff..e26ca53f8c29 100644
--- a/contrib/ncurses/ncurses/tinfo/lib_termcap.c
+++ b/contrib/ncurses/ncurses/tinfo/lib_termcap.c
@@ -50,6 +50,8 @@ char *UP;
char *BC;
#ifdef FREEBSD_NATIVE
+#undef GCC_UNUSED
+#define GCC_UNUSED
extern char _nc_termcap[]; /* buffer to copy out */
#endif