]> git.proxmox.com Git - qemu.git/blobdiff - cache-utils.c
i386: avoid a write only variable
[qemu.git] / cache-utils.c
index 8bbd68054d4dfa938ba45991251e2ec1836f4014..b1f20978ca6a9ee6fa89a759ce8052a69dc0f59c 100644 (file)
@@ -58,7 +58,10 @@ static void ppc_init_cacheline_sizes(void)
 #endif
 
 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#include <errno.h>
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <sys/types.h>
 #include <sys/sysctl.h>