From: Steven Schubiger Date: Sat, 17 Aug 2013 15:22:12 +0000 (+0200) Subject: Extend feature test macro X-Git-Tag: v0.52~10 X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=commitdiff_plain;h=fafbaa593cf17b107a4892e03410999234493eea Extend feature test macro Defining _POSIX_C_SOURCE=200809L fixes compilation currently under Net/Open/MirBSD (and possibly more). --- diff --git a/colorize.c b/colorize.c index 827de87..7bb8ee0 100644 --- a/colorize.c +++ b/colorize.c @@ -19,7 +19,7 @@ * */ -#define _POSIX_SOURCE +#define _POSIX_C_SOURCE 200809L #include #include #include