mirror of
https://github.com/mirror/wget.git
synced 2025-01-20 17:20: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>
|
||||
|
||||
/* For TIOCGWINSZ and friends: */
|
||||
#include <sys/ioctl.h>
|
||||
#include <termios.h>
|
||||
#ifndef WINDOWS
|
||||
# include <sys/ioctl.h>
|
||||
# include <termios.h>
|
||||
#endif
|
||||
|
||||
/* Needed for Unix version of run_with_timeout. */
|
||||
#include <signal.h>
|
||||
|
Loading…
Reference in New Issue
Block a user