]> git.proxmox.com Git - qemu.git/blobdiff - qemu_socket.h
qemu-timer: change unix timer to dynticks
[qemu.git] / qemu_socket.h
index 164ae3eb4edd59fbd09eeceb7637d39a16432dd8..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,9 +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 */