From dc0518cad2a86ce860347f77880b4cdcb842c296 Mon Sep 17 00:00:00 2001 From: Bruce Cran Date: Mon, 28 Jan 2013 16:07:15 +0000 Subject: [PATCH] Fix Windows build by defining clock sources and adding include file. Signed-off-by: Jens Axboe --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 7352bf1c..3ea10b2a 100755 --- a/configure +++ b/configure @@ -182,7 +182,10 @@ CYGWIN*) output_sym "CONFIG_RUSAGE_THREAD" output_sym "CONFIG_WINDOWSAIO" output_sym "CONFIG_FDATASYNC" + output_sym "CONFIG_GETTIMEOFDAY" + output_sym "CONFIG_CLOCK_GETTIME" echo "CC=$CC" >> $config_host_mak + echo "EXTFLAGS=-include config-host.h -D_GNU_SOURCE" >> $config_host_mak exit 0 esac -- 2.25.1