X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fcommondsp.c;h=49b3805f76dbdf50348958678eca33b75ebea2f5;hb=68c554411d120d163045f77a80ad9009f7a73841;hp=8750fcd79ae858eb94dd49670af885fb29c12d80;hpb=7c5f6ecf842604527da7c24a7ed873ef04bd616a;p=gnushogi.git diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 8750fcd..49b3805 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -6,6 +6,7 @@ * ---------------------------------------------------------------------- * Copyright (c) 1993, 1994, 1995 Matthias Mutz * Copyright (c) 1999 Michael Vanier and the Free Software Foundation + * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation * * GNU SHOGI is based on GNU CHESS * @@ -31,6 +32,10 @@ * */ +/* request *snprintf prototypes */ +#define _POSIX_C_SOURCE 200112L +#include + #if defined HAVE_GETTIMEOFDAY #include #endif