[Spice-devel] [PATCH spice-server] websocket: Include proper type header
Uri Lublin
uril at redhat.com
Wed Jul 17 11:49:09 UTC 2019
On 7/17/19 2:32 PM, Frediano Ziglio wrote:
> 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>
Ack :)
> ---
> 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"
>
>
More information about the Spice-devel
mailing list