mirror of
https://repo.or.cz/socat.git
synced 2025-07-11 22:23:24 +00:00
Corrected gettimeofday() handling
This commit is contained in:
parent
4cebaf45e4
commit
25cef1c540
6 changed files with 49 additions and 35 deletions
2
error.h
2
error.h
|
@ -217,7 +217,7 @@ struct diag_dgram {
|
|||
enum diag_op op;
|
||||
#if HAVE_CLOCK_GETTIME
|
||||
struct timespec now;
|
||||
#elif HAVE_GETTIMEOFDAY
|
||||
#elif HAVE_PROTOTYPE_LIB_gettimeofday
|
||||
struct timeval now;
|
||||
#else
|
||||
time_t now;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue