ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 4cfad7b6805849e19c8720267c310f6ba2df6911
parent ae7fe5b0d0fcef0b01e978b09b3339290f2a8ea6
Author: Frederic Cambus <fred@statdns.com>
Date:   Sun, 24 Jan 2016 15:53:58 +0100

Define _XOPEN_SOURCE macro (for 'strdup' and 'strndup' functions)

Diffstat:
Msrc/sauce.h | 1+
Msrc/substr.h | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/sauce.h b/src/sauce.h @@ -9,6 +9,7 @@ // See the file LICENSE for details. // +#define _XOPEN_SOURCE 700 #include <stdio.h> #include <stdlib.h> #include <stdint.h> diff --git a/src/substr.h b/src/substr.h @@ -9,6 +9,7 @@ // See the file LICENSE for details. // +#define _XOPEN_SOURCE 700 #include <stdio.h> #include <stdlib.h> #include <string.h>