properties: fix printf format in mingw
authorhpi1 <hpi1@anonymous.org>
Fri, 20 Oct 2017 20:13:24 +0000 (23:13 +0300)
committerhpi1 <hpi1@anonymous.org>
Fri, 20 Oct 2017 20:13:24 +0000 (23:13 +0300)
src/libbluray/disc/properties.c

index b01f515..42119e2 100644 (file)
 #include "util/macro.h"
 #include "util/strutl.h"
 
+#ifdef _WIN32
+/* mingw: PRId64 requires stdio.h ... */
+#include <stdio.h>
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 #include <inttypes.h>
 
+
 #define MAX_PROP_FILE_SIZE   (64*1024)
 
 /*