mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
misc: Correctly guard the sys/time.h include
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -33,9 +33,10 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#ifndef HAVE_CLOCK_GETTIME
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif /* HAVE_CLOCK_GETTIME */
|
||||
#endif /* HAVE_SYS_TIME_H */
|
||||
|
||||
#endif /* _WIN32 */
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
Reference in New Issue
Block a user