summaryrefslogtreecommitdiffstats
path: root/src/openvpn/openvpn.h
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-02-29 22:12:15 +0200
committerDavid Sommerseth <davids@redhat.com>2012-03-22 22:53:39 +0100
commit3d163bc544ab9dfc62d9a2c865f8abb865bf6eb3 (patch)
treed4ec60463290c45c2b201797099214d854edc042 /src/openvpn/openvpn.h
parentdc81e743989640cc681a40e69455cc9fc736ab9c (diff)
downloadopenvpn-3d163bc544ab9dfc62d9a2c865f8abb865bf6eb3.tar.gz
openvpn-3d163bc544ab9dfc62d9a2c865f8abb865bf6eb3.tar.xz
openvpn-3d163bc544ab9dfc62d9a2c865f8abb865bf6eb3.zip
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 <alon.barlev@gmail.com> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/openvpn.h')
-rw-r--r--src/openvpn/openvpn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/openvpn.h b/src/openvpn/openvpn.h
index f4f877b..b314885 100644
--- a/src/openvpn/openvpn.h
+++ b/src/openvpn/openvpn.h
@@ -269,7 +269,7 @@ struct context_2
struct frame frame_fragment_omit;
#endif
-#ifdef HAVE_GETTIMEOFDAY
+#ifdef ENABLE_FEATURE_SHAPER
/*
* Traffic shaper object.
*/