diff options
author | DoctorNoobingstoneIPresume <47064117+DoctorNoobingstoneIPresume@users.noreply.github.com> | 2021-11-15 07:51:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 14:51:54 +0900 |
commit | aa1364fbdf8700a2c3d2176180f92fb9a4b44251 (patch) | |
tree | f5a31839cd90d05b1c3f54c1099ff0f3be1539f7 /src/shared/dlt_common.c | |
parent | 68fb45019d04b637d5a51fbda411599ccf779dad (diff) | |
download | DLT-daemon-aa1364fbdf8700a2c3d2176180f92fb9a4b44251.tar.gz |
Support for Cygwin toolchain. (#351)
Also tested with the latest version running on Windows XP (gcc-5.4.0)
(http://www.crouchingtigerhiddenfruitbat.org/cygwin/timemachine.html).
Signed-off-by: Adder <adder_2003@yahoo.com>
Diffstat (limited to 'src/shared/dlt_common.c')
-rw-r--r-- | src/shared/dlt_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c index e964d1b..427044b 100644 --- a/src/shared/dlt_common.c +++ b/src/shared/dlt_common.c @@ -56,6 +56,7 @@ # include <io.h> #else # include <unistd.h> /* for read(), close() */ +# include <fcntl.h> # include <sys/time.h> /* for gettimeofday() */ #endif |