mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Fix building on NetBSD 9.0
Fixes #2310 Signed-off-by: gufe44 <gu981@protonmail.com>
This commit is contained in:
parent
a586099fd3
commit
19735b69b8
3 changed files with 16 additions and 2 deletions
|
|
@ -51,6 +51,10 @@
|
|||
* Harmless on other platforms. */
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#define _XOPEN_SOURCE 600
|
||||
#endif
|
||||
|
||||
#if !defined(MBEDTLS_CONFIG_FILE)
|
||||
#include "mbedtls/config.h"
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue