aboutsummaryrefslogtreecommitdiffstats
path: root/cache-utils.c
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2010-09-09 23:49:44 +0200
committerDavid 'Digit' Turner <digit@android.com>2010-09-13 00:30:34 -0700
commit3b290c31efd96e5474f2b55b7fe1ca0250a5bb47 (patch)
tree85926a92cab46a4c76f0c8630c43618ef3b1bb39 /cache-utils.c
parente81106dda32dcf982eff8d080cc194faf9851172 (diff)
downloadexternal_qemu-3b290c31efd96e5474f2b55b7fe1ca0250a5bb47.zip
external_qemu-3b290c31efd96e5474f2b55b7fe1ca0250a5bb47.tar.gz
external_qemu-3b290c31efd96e5474f2b55b7fe1ca0250a5bb47.tar.bz2
upstream: minor updates.
Diffstat (limited to 'cache-utils.c')
-rw-r--r--cache-utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache-utils.c b/cache-utils.c
index 8bbd680..b1f2097 100644
--- a/cache-utils.c
+++ b/cache-utils.c
@@ -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>