[Spice-devel] [PATCH spice-server v3 28/32] reds: Explicitly include inttypes.h

Frediano Ziglio fziglio at redhat.com
Mon Jan 7 18:02:11 UTC 2019


MingW does not include this header while including stdint.h so
on Windows you need to include it.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 server/reds.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/reds.h b/server/reds.h
index 8481d7c6..f192b563 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -19,6 +19,7 @@
 #define REDS_H_
 
 #include <stdint.h>
+#include <inttypes.h>
 #include <spice/vd_agent.h>
 #include <common/marshaller.h>
 #include <common/messages.h>
-- 
2.20.1



More information about the Spice-devel mailing list