Skip to content

Commit

Permalink
Merge pull request #57 from Oldes/master
Browse files Browse the repository at this point in the history
FIX: trying to fix build for Haiku OS
  • Loading branch information
Oldes committed Nov 23, 2023
2 parents 16e162c + 45832b9 commit 34e11b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/mbedtls/platform_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ extern inline void mbedtls_put_unaligned_uint64(void *p, uint64_t x);
(defined(__APPLE__) && defined(__MACH__))) || \
defined(__HAIKU__)
#include <unistd.h>
#endif /* !_WIN32 && (unix || __unix || __unix__ || (__APPLE__ && __MACH__)) */
#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 199309L)
#endif /* !_WIN32 && (unix || __unix || __unix__ || (__APPLE__ && __MACH__) || defined(__HAIKU__)) */
#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 199309L) || defined(__HAIKU__)
mbedtls_ms_time_t mbedtls_ms_time(void)
{
int ret;
Expand Down

0 comments on commit 34e11b3

Please sign in to comment.