From: Yann Dirson Date: Thu, 5 Dec 2013 22:18:31 +0000 (+0100) Subject: #define _POSIX_C_SOURCE to get proper access to snprintf and vsnprintf. X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=4f565f2015c84ab0d9432ce077de82283ffbd35b;p=gnushogi.git #define _POSIX_C_SOURCE to get proper access to snprintf and vsnprintf. --- diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 8750fcd..4cbfb81 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -31,6 +31,10 @@ * */ +/* request *snprintf prototypes */ +#define _POSIX_C_SOURCE 200112L +#include + #if defined HAVE_GETTIMEOFDAY #include #endif diff --git a/gnushogi/cursesdsp.c b/gnushogi/cursesdsp.c index 906e44d..4d00015 100644 --- a/gnushogi/cursesdsp.c +++ b/gnushogi/cursesdsp.c @@ -30,6 +30,8 @@ * ---------------------------------------------------------------------- */ +/* request *snprintf prototypes*/ +#define _POSIX_C_SOURCE 200112L #include #include diff --git a/gnushogi/dspwrappers.c b/gnushogi/dspwrappers.c index 3cdfbce..ee5274d 100644 --- a/gnushogi/dspwrappers.c +++ b/gnushogi/dspwrappers.c @@ -32,6 +32,9 @@ * */ +/* request *snprintf prototypes*/ +#define _POSIX_C_SOURCE 200112L + #include "gnushogi.h" #include "dspwrappers.h" #include "rawdsp.h"