summary refs log tree commit diff stats
path: root/net/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket.h')
-rw-r--r--net/socket.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/socket.h b/net/socket.h
index e1fe959412..e44d26ea9e 100644
--- a/net/socket.h
+++ b/net/socket.h
@@ -26,7 +26,9 @@
 
 #include "net.h"
 #include "qemu-common.h"
+#include "qapi-types.h"
 
-int net_init_socket(QemuOpts *opts, const char *name, VLANState *vlan);
+int net_init_socket(QemuOpts *opts, const NetClientOptions *new_opts,
+                    const char *name, VLANState *vlan);
 
 #endif /* QEMU_NET_SOCKET_H */