]> git.proxmox.com Git - qemu.git/blobdiff - qemu_socket.h
Fix qjson test of solidus encoding
[qemu.git] / qemu_socket.h
index 7ee46ac4ecb685e411f7454a96f63696005f91b3..180e4dbd9b5bebe927fb624f8463d384bd3adc24 100644 (file)
@@ -17,6 +17,7 @@ int inet_aton(const char *cp, struct in_addr *ia);
 
 #else
 
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netinet/tcp.h>
@@ -53,8 +54,6 @@ int unix_connect(const char *path);
 
 /* Old, ipv4 only bits.  Don't use for new code. */
 int parse_host_port(struct sockaddr_in *saddr, const char *str);
-int parse_host_src_port(struct sockaddr_in *haddr,
-                        struct sockaddr_in *saddr,
-                        const char *str);
+int socket_init(void);
 
 #endif /* QEMU_SOCKET_H */