aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluffypony <ric@spagni.net>2014-09-10 13:58:43 +0200
committerfluffypony <ric@spagni.net>2014-09-10 13:58:43 +0200
commit110f110181aa614d7ff2a3a4485a42d74af0f738 (patch)
tree42642b71a9df4834f057ec232e85eaabf06d5f16 /src
parentreplace ftime with gettimeofday on FreeBSD because lcompat is stupid (diff)
downloadmonero-110f110181aa614d7ff2a3a4485a42d74af0f738.tar.xz
Include sys/time.h on BSD
Diffstat (limited to '')
-rw-r--r--src/crypto/oaes_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/oaes_lib.c b/src/crypto/oaes_lib.c
index ff2665381..c86b8caa0 100644
--- a/src/crypto/oaes_lib.c
+++ b/src/crypto/oaes_lib.c
@@ -45,6 +45,8 @@ static const char _NR[] = {
// FreeBSD also doesn't need timeb.h
#ifndef __FreeBSD__
#include <sys/timeb.h>
+#else
+ #include <sys/time.h>
#endif
#ifdef WIN32