ssl_mail_client: Define _XOPEN_SOURCE=600 for gethostname
Fixes building this program on NetBSD 9.0. Signed-off-by: nia <nia@netbsd.org>
This commit is contained in:
parent
0b01fd9b67
commit
7eb0e62f64
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
* be set before config.h, which pulls in glibc's features.h indirectly.
|
* be set before config.h, which pulls in glibc's features.h indirectly.
|
||||||
* Harmless on other platforms. */
|
* Harmless on other platforms. */
|
||||||
#define _POSIX_C_SOURCE 200112L
|
#define _POSIX_C_SOURCE 200112L
|
||||||
|
#define _XOPEN_SOURCE 600
|
||||||
|
|
||||||
#if !defined(MBEDTLS_CONFIG_FILE)
|
#if !defined(MBEDTLS_CONFIG_FILE)
|
||||||
#include "mbedtls/config.h"
|
#include "mbedtls/config.h"
|
||||||
|
|
Loading…
Reference in a new issue