include: define _DEFAULT_SOURCE

_BSD_SOURCE and _SVID_SOURCE are deprecated
in favor of _DEFAULT_SOURCE.
This commit is contained in:
David du Colombier 2015-10-16 20:47:49 +02:00
parent 8de603bff1
commit 445b6293d6

View File

@ -3,6 +3,7 @@
#define _BSD_SOURCE 1
#define _NETBSD_SOURCE 1 /* NetBSD */
#define _SVID_SOURCE 1
#define _DEFAULT_SOURCE 1
#if !defined(__APPLE__) && !defined(__OpenBSD__)
# define _XOPEN_SOURCE 1000
# define _XOPEN_SOURCE_EXTENDED 1