diff options
author | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2012-07-31 11:44:44 +0000 |
---|---|---|
committer | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2012-07-31 11:44:44 +0000 |
commit | 2e225ba821b420ae28e1d427075d5589c1e892d9 (patch) | |
tree | 1e2a64b0a2a6da46055b878e4eef98712d680161 /snappy-test.h | |
parent | e89f20ab46ee11050760c6d57f05c2a3825a911c (diff) | |
download | snappy-2e225ba821b420ae28e1d427075d5589c1e892d9.tar.gz snappy-2e225ba821b420ae28e1d427075d5589c1e892d9.tar.bz2 snappy-2e225ba821b420ae28e1d427075d5589c1e892d9.zip |
Fix public issue 64: Check for <sys/time.h> at configure time,
since MSVC seemingly does not have it.
R=sanjay
git-svn-id: https://snappy.googlecode.com/svn/trunk@66 03e5f5b5-db94-4691-08a0-1a8bf15f6143
Diffstat (limited to 'snappy-test.h')
-rw-r--r-- | snappy-test.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/snappy-test.h b/snappy-test.h index 86a92fd..08b5cb7 100644 --- a/snappy-test.h +++ b/snappy-test.h @@ -47,7 +47,9 @@ #include <sys/resource.h> #endif +#ifdef HAVE_SYS_TIME_H #include <sys/time.h> +#endif #ifdef HAVE_WINDOWS_H #define WIN32_LEAN_AND_MEAN |