diff options
author | fluffypony <ric@spagni.net> | 2014-09-10 13:58:43 +0200 |
---|---|---|
committer | fluffypony <ric@spagni.net> | 2014-09-10 13:58:43 +0200 |
commit | 110f110181aa614d7ff2a3a4485a42d74af0f738 (patch) | |
tree | 42642b71a9df4834f057ec232e85eaabf06d5f16 /src/crypto/oaes_lib.c | |
parent | replace ftime with gettimeofday on FreeBSD because lcompat is stupid (diff) | |
download | monero-110f110181aa614d7ff2a3a4485a42d74af0f738.tar.xz |
Include sys/time.h on BSD
Diffstat (limited to 'src/crypto/oaes_lib.c')
-rw-r--r-- | src/crypto/oaes_lib.c | 2 |
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 |