ansilove

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

commit 84a79c976b292815638cc7598e5bcd906eec68ce
parent 43b4b683df28cdf0701b4c4b0fe6ad60102fe301
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 16 Jan 2019 15:49:26 +0100

Define _XOPEN_SOURCE in sauce.c, and not in sauce.h.

Diffstat:
Msrc/sauce.c | 2++
Msrc/sauce.h | 1-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/sauce.c b/src/sauce.c @@ -10,6 +10,8 @@ * See LICENSE file for details. */ +#define _XOPEN_SOURCE 700 + #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/src/sauce.h b/src/sauce.h @@ -13,7 +13,6 @@ #ifndef SAUCE_H #define SAUCE_H -#define _XOPEN_SOURCE 700 #include <sys/types.h> #include <stdio.h>