libpayload: Don't declare mouse support in tinycurses
[coreboot.git] / payloads / libpayload / include / curses.priv.h
index 594b4da125cd1ff6956198483c244aa8f562aae7..78b7ff3cc918db3cda86eda47bda5bff988d270c 100644 (file)
@@ -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;