]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qga/commands-bsd.c
Merge tag 'pull-error-2023-02-23' of https://repo.or.cz/qemu/armbru into staging
[mirror_qemu.git] / qga / commands-bsd.c
index 15cade2d4c6f7e126a5bb111208b41a8949297c5..17bddda1cfb6a8d7ecbb8db14dad7d5f1f0f7e03 100644 (file)
 #include <sys/ucred.h>
 #include <sys/mount.h>
 #include <net/if_dl.h>
+#if defined(__NetBSD__) || defined(__OpenBSD__)
+#include <net/if_arp.h>
+#include <netinet/if_ether.h>
+#else
 #include <net/ethernet.h>
+#endif
 #include <paths.h>
 
 #if defined(CONFIG_FSFREEZE) || defined(CONFIG_FSTRIM)