summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/curses.priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/curses.priv.h')
-rw-r--r--payloads/libpayload/include/curses.priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/curses.priv.h b/payloads/libpayload/include/curses.priv.h
index 594b4da125..78b7ff3cc9 100644
--- a/payloads/libpayload/include/curses.priv.h
+++ b/payloads/libpayload/include/curses.priv.h
@@ -514,6 +514,7 @@ struct screen {
#define _nc_idlok SP->_nc_sp_idlok
#define _nc_idcok SP->_nc_sp_idcok
+#ifdef NCURSES_MOUSE_VERSION
/*
* These are the data that support the mouse interface.
*/
@@ -531,6 +532,7 @@ struct screen {
NCURSES_CONST char *_mouse_xtermcap; /* string to enable/disable mouse */
MEVENT _mouse_events[EV_MAX]; /* hold the last mouse event seen */
MEVENT *_mouse_eventp; /* next free slot in event queue */
+#endif
#if USE_GPM_SUPPORT
bool _mouse_gpm_loaded;