mirror of
https://github.com/mirror/wget.git
synced 2025-03-28 21:10:20 +08:00
src/utils.c: Don't include termios.h on Windows
This commit is contained in:
parent
9ee2fdd50d
commit
fc336758ab
@ -64,8 +64,10 @@ as that of the covered work. */
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
/* For TIOCGWINSZ and friends: */
|
/* For TIOCGWINSZ and friends: */
|
||||||
#include <sys/ioctl.h>
|
#ifndef WINDOWS
|
||||||
#include <termios.h>
|
# include <sys/ioctl.h>
|
||||||
|
# include <termios.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Needed for Unix version of run_with_timeout. */
|
/* Needed for Unix version of run_with_timeout. */
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user