summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-04-02 18:06:34 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2017-04-02 18:06:34 +0100
commit042c35930cc063b68b646765d633d7ffd99fc519 (patch)
treef9e729eb69d2b65a8340a1b594dcd8bea9b31426
parent3b27b283d9f4dd4fcdf0c5c0da40322d9d5e7582 (diff)
downloadtoolchains-042c35930cc063b68b646765d633d7ffd99fc519.tar.gz
toolchains-042c35930cc063b68b646765d633d7ffd99fc519.tar.bz2
Fix OpenSSL build for m68k-unknown-amigaos
-rw-r--r--sdk/recipes/files/openssl/m68k-unknown-amigaos/crypto/rand/rand_amiga.c11
1 files 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__ */