aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2014-01-26 22:07:57 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org> 2014-01-26 22:07:57 +0100
commit0029079c8eb98e122286fb05f8fb798476a1b7a8 (patch)
tree1ebcf90b82331b5aa06caf6167ccfef32764b318
parent6cc9cae2d6fb9bbfd340243dfa735e1a08fe75cc (diff)
downloadcolorize-0029079c8eb98e122286fb05f8fb798476a1b7a8.tar.gz
colorize-0029079c8eb98e122286fb05f8fb798476a1b7a8.tar.bz2
Extend feature test macro further
-rw-r--r--colorize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index 69aca35..6c998ab 100644
--- a/colorize.c
+++ b/colorize.c
@@ -19,7 +19,8 @@
*
*/
-#define _POSIX_C_SOURCE 200809L
+#define _BSD_SOURCE
+#define _XOPEN_SOURCE 700
#include <assert.h>
#include <ctype.h>
#include <errno.h>