aboutsummaryrefslogtreecommitdiffstats
path: root/system_cmds/gcore.tproj/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'system_cmds/gcore.tproj/vm.c')
-rw-r--r--system_cmds/gcore.tproj/vm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/system_cmds/gcore.tproj/vm.c b/system_cmds/gcore.tproj/vm.c
index 22b0efe..0504f51 100644
--- a/system_cmds/gcore.tproj/vm.c
+++ b/system_cmds/gcore.tproj/vm.c
@@ -2,6 +2,7 @@
* Copyright (c) 2016 Apple Inc. All rights reserved.
*/
+typedef char *kobject_description_t[512];
#include "options.h"
#include "vm.h"
#include "utils.h"
@@ -16,6 +17,7 @@
#include <stdbool.h>
#include <assert.h>
#include <sys/queue.h>
+#include <machine/cpu_capabilities.h>
/*
* There should be better APIs to describe the shared region