shithub: drawterm

Download patch

ref: 445b6293d60eb6ebd6d361596cbbc92eb8e81dc8
parent: 8de603bff116425d9a0943f97898d565a82311a8
author: David du Colombier <0intro@gmail.com>
date: Fri Oct 16 16:47:49 EDT 2015

include: define _DEFAULT_SOURCE

_BSD_SOURCE and _SVID_SOURCE are deprecated
in favor of _DEFAULT_SOURCE.

--- 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