From 042c35930cc063b68b646765d633d7ffd99fc519 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 2 Apr 2017 18:06:34 +0100 Subject: Fix OpenSSL build for m68k-unknown-amigaos --- .../openssl/m68k-unknown-amigaos/crypto/rand/rand_amiga.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sdk/recipes/files/openssl/m68k-unknown-amigaos/crypto/rand/rand_amiga.c b/sdk/recipes/files/openssl/m68k-unknown-amigaos/crypto/rand/rand_amiga.c index cd3f236..3c18b7d 100644 --- a/sdk/recipes/files/openssl/m68k-unknown-amigaos/crypto/rand/rand_amiga.c +++ b/sdk/recipes/files/openssl/m68k-unknown-amigaos/crypto/rand/rand_amiga.c @@ -39,8 +39,15 @@ /* OS3 has a different but compatible TimeVal definition */ struct TimeVal { - uint32 Seconds; - uint32 Microseconds; + ULONG Seconds; + ULONG Microseconds; +}; + +/* ...and ditto for TimeRequest */ +struct TimeRequest +{ + struct IORequest Request; + struct TimeVal Time; }; #endif /* !__amigaos4__ */ -- cgit v1.2.3