summary refs log tree commit diff stats
path: root/include/chardev/char-socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/chardev/char-socket.h')
-rw-r--r--include/chardev/char-socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/chardev/char-socket.h b/include/chardev/char-socket.h
index 1a9274f2e3..6b6e2ceba1 100644
--- a/include/chardev/char-socket.h
+++ b/include/chardev/char-socket.h
@@ -43,6 +43,8 @@ typedef enum {
     TCP_CHARDEV_STATE_CONNECTED,
 } TCPChardevState;
 
+typedef ChardevClass SocketChardevClass;
+
 struct SocketChardev {
     Chardev parent;
     QIOChannel *ioc; /* Client I/O channel */