#define _POSIX_C_SOURCE to get proper access to snprintf and vsnprintf.
[gnushogi.git] / gnushogi / dspwrappers.c
index 3cdfbce..ee5274d 100644 (file)
@@ -32,6 +32,9 @@
  *
  */
 
+/* request *snprintf prototypes*/
+#define _POSIX_C_SOURCE 200112L
+
 #include "gnushogi.h"
 #include "dspwrappers.h"
 #include "rawdsp.h"