#define _POSIX_C_SOURCE to get proper access to snprintf and vsnprintf.
[gnushogi.git] / gnushogi / cursesdsp.c
index 906e44d..4d00015 100644 (file)
@@ -30,6 +30,8 @@
  * ----------------------------------------------------------------------
  */
 
+/* request *snprintf prototypes*/
+#define _POSIX_C_SOURCE 200112L
 
 #include <ctype.h>
 #include <signal.h>