From 3d163bc544ab9dfc62d9a2c865f8abb865bf6eb3 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Wed, 29 Feb 2012 22:12:15 +0200 Subject: build: move gettimeofday() emulation to compat Remove all references to gettimeofday() from main project. SIDE EFFECT: mingw will use its own internal gettimeofday(). Signed-off-by: Alon Bar-Lev Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- src/openvpn/shaper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/openvpn/shaper.h') diff --git a/src/openvpn/shaper.h b/src/openvpn/shaper.h index 4825011..afeb9c3 100644 --- a/src/openvpn/shaper.h +++ b/src/openvpn/shaper.h @@ -27,7 +27,7 @@ /*#define SHAPER_DEBUG*/ -#ifdef HAVE_GETTIMEOFDAY +#ifdef ENABLE_FEATURE_SHAPER #include "basic.h" #include "integer.h" @@ -173,6 +173,6 @@ shaper_change_pct (struct shaper *s, int pct) } #endif -#endif /* HAVE_GETTIMEOFDAY */ +#endif /* ENABLE_FEATURE_SHAPER */ #endif -- cgit