From 445b6293d60eb6ebd6d361596cbbc92eb8e81dc8 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Fri, 16 Oct 2015 20:47:49 +0200 Subject: [PATCH] include: define _DEFAULT_SOURCE _BSD_SOURCE and _SVID_SOURCE are deprecated in favor of _DEFAULT_SOURCE. --- include/unix.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/unix.h b/include/unix.h index 862d993..5784ac9 100644 --- a/include/unix.h +++ b/include/unix.h @@ -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