Enable snprintf on FreeBSD

This commit is contained in:
k-stachowiak 2018-07-06 14:42:22 +02:00 committed by Nicholas Wilson
parent 61fa436ad3
commit a5fbfd7cd8

View file

@ -31,7 +31,7 @@
/* Ensure gmtime_r is available even with -std=c99; must be included before
* config.h, which pulls in glibc's features.h. Harmless on other platforms. */
#define _XOPEN_SOURCE 500
#define _POSIX_C_SOURCE 200112L
#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"