Ignore:
Timestamp:
Oct 28, 2007, 11:20:11 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • When present, include <termios.h> and <unistd.h> to allow the ncurses driver to build on Solaris. Fix courtesy of Rado S.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_ncurses.c

    r1837 r1851  
    3636#include <string.h>
    3737
     38#if defined HAVE_UNISTD_H
     39#   include <unistd.h>
     40#endif
    3841#if defined HAVE_SIGNAL_H
    3942#   include <signal.h>
     
    4548#   include <locale.h>
    4649#endif
    47 
    48 #ifndef TIOCGWINSZ
     50#if defined HAVE_TERMIOS_H
    4951#   include <termios.h>
    5052#endif
Note: See TracChangeset for help on using the changeset viewer.