mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-11 20:59:56 +00:00
Add MBEDTLS_PRIVATE wrapping to sample programs.
Signed-off-by: Mateusz Starzyk <[email protected]>
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
/* Enable definition of gethostname() even when compiling with -std=c99. Must
|
||||
* be set before config.h, which pulls in glibc's features.h indirectly.
|
||||
* Harmless on other platforms. */
|
||||
|
||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
|
||||
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#define _XOPEN_SOURCE 600
|
||||
|
||||
|
||||
Reference in New Issue
Block a user