Enable snprintf on FreeBSD

This commit is contained in:
k-stachowiak
2018-07-08 13:22:11 +01:00
committed by Nicholas Wilson
parent 61fa436ad3
commit a5fbfd7cd8
+1 -1
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"