aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/include/tic.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ncurses/include/tic.h')
-rw-r--r--contrib/ncurses/include/tic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/ncurses/include/tic.h b/contrib/ncurses/include/tic.h
index 58bc27faae0b..0a850540b943 100644
--- a/contrib/ncurses/include/tic.h
+++ b/contrib/ncurses/include/tic.h
@@ -157,8 +157,17 @@ struct tinfo_fkeys {
chtype code;
};
+#ifdef BROKEN_LINKER
+
+#define _nc_tinfo_fkeys _nc_tinfo_fkeysf()
+extern struct tinfo_fkeys *_nc_tinfo_fkeysf(void);
+
+#else
+
extern struct tinfo_fkeys _nc_tinfo_fkeys[];
+#endif
+
/*
* The file comp_captab.c contains an array of these structures, one
* per possible capability. These are indexed by a hash table array of