]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qga/commands-posix.c
hw/fsi: Added qtest
[mirror_qemu.git] / qga / commands-posix.c
index 6169bbf7a015386bcdf9c08e4f31a9f5861c2689..26008db497e74b1dae85c4e28e7df0add1acbf9b 100644 (file)
 #include <arpa/inet.h>
 #include <sys/socket.h>
 #include <net/if.h>
-#if defined(__NetBSD__) || defined(__OpenBSD__)
+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(CONFIG_SOLARIS)
 #include <net/if_arp.h>
 #include <netinet/if_ether.h>
+#if !defined(ETHER_ADDR_LEN) && defined(ETHERADDRL)
+#define ETHER_ADDR_LEN ETHERADDRL
+#endif
 #else
 #include <net/ethernet.h>
 #endif