mirror of
https://github.com/skeeto/endlessh.git
synced 2025-12-08 22:23:23 +00:00
Use _XOPEN_SOURCE instead of _POSIX_C_SOURCE
It seems this is required to get all the IPv6 definitions, though most systems aren't very picky. NetBSD seems to be one of those picky systems, though.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#define _POSIX_C_SOURCE 200112L
|
#define _XOPEN_SOURCE 600
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user