[Spice-devel] [PATCH spice-server 2/2] websocket: Make header self-independent
Frediano Ziglio
fziglio at redhat.com
Thu Jun 27 15:03:58 UTC 2019
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/websocket.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/server/websocket.h b/server/websocket.h
index 7707e6804..ec452038b 100644
--- a/server/websocket.h
+++ b/server/websocket.h
@@ -18,6 +18,10 @@
#ifndef WEBSOCKET_H_
#define WEBSOCKET_H_
+#include <inttypes.h>
+
+#include "sys-socket.h"
+
typedef ssize_t (*websocket_read_cb_t)(void *opaque, void *buf, size_t nbyte);
typedef ssize_t (*websocket_write_cb_t)(void *opaque, const void *buf, size_t nbyte);
typedef ssize_t (*websocket_writev_cb_t)(void *opaque, struct iovec *iov, int iovcnt);
--
2.20.1
More information about the Spice-devel
mailing list