aboutsummaryrefslogtreecommitdiff
path: root/cache-utils.c
diff options
context:
space:
mode:
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 8bbd68054d..b1f20978ca 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>