[Spice-devel] [PATCH spice-server] websocket: Include proper type header

Frediano Ziglio fziglio at redhat.com
Wed Jul 17 11:32:45 UTC 2019


inttypes.h contains macro for format string while
stdint.h more specifically contains type definitions (like uint8_t).

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/websocket.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/websocket.h b/server/websocket.h
index ec452038b..4619836a6 100644
--- a/server/websocket.h
+++ b/server/websocket.h
@@ -18,7 +18,7 @@
 #ifndef WEBSOCKET_H_
 #define WEBSOCKET_H_
 
-#include <inttypes.h>
+#include <stdint.h>
 
 #include "sys-socket.h"
 
-- 
2.20.1



More information about the Spice-devel mailing list