1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Merge pull request #3422 from niacat/net-sockets-fixes

NetBSD 9.0 build fixes
This commit is contained in:
Gilles Peskine
2020-06-22 23:33:53 +02:00
committed by GitHub
3 changed files with 6 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
* be set before config.h, which pulls in glibc's features.h indirectly.
* Harmless on other platforms. */
#define _POSIX_C_SOURCE 200112L
#define _XOPEN_SOURCE 600
#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"