Ticket #4181: mc-4.8.26-ncurses.patch

File mc-4.8.26-ncurses.patch, 418 bytes (added by andrew_b, 4 years ago)
  • lib/tty/tty-ncurses.h

    diff --git a/lib/tty/tty-ncurses.h b/lib/tty/tty-ncurses.h
    index 9962c7c41..db8e99101 100644
    a b  
    22#ifndef MC__TTY_NCURSES_H 
    33#define MC__TTY_NCURSES_H 
    44 
     5/* for cchar_t, getcchar(), setcchar() */ 
     6#ifndef _XOPEN_SOURCE_EXTENDED 
     7#define _XOPEN_SOURCE_EXTENDED 
     8#endif 
     9 
    510#ifdef USE_NCURSES 
    611#ifdef HAVE_NCURSES_CURSES_H 
    712#include <ncurses/curses.h>