1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

uxcons: Don't try to include <sys/select.h> on systems that don't have it.

Also include <sys/time.h> for ancient systems that define select()
there.
This commit is contained in:
Ben Harris 2016-05-01 18:11:50 +02:00
parent 4ae1577b43
commit 05e802d5fe

View File

@ -12,7 +12,10 @@
#include <termios.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/time.h>
#ifndef HAVE_NO_SYS_SELECT_H
#include <sys/select.h>
#endif
#include "putty.h"
#include "storage.h"