diff options
| author | Andreas Schneider <asn@cryptomilk.org> | 2015-06-24 16:51:28 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2015-06-24 17:13:19 +0200 |
| commit | ef751a26d0cb746966aaee64cfb5d1a87efba535 (patch) | |
| tree | 1e91f49bd03708cc8d077cbe1776065b9a751364 /src/misc.c | |
| parent | 30a7229fc5f147c9f39abfa9272546773f58678c (diff) | |
| download | libssh-ef751a26d0cb746966aaee64cfb5d1a87efba535.tar.gz libssh-ef751a26d0cb746966aaee64cfb5d1a87efba535.tar.xz libssh-ef751a26d0cb746966aaee64cfb5d1a87efba535.zip | |
misc: Correctly guard the sys/time.h include
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/misc.c')
| -rw-r--r-- | src/misc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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> |
