aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/systime/systime.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/systime/systime.c')
-rw-r--r--shell_cmds/systime/systime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell_cmds/systime/systime.c b/shell_cmds/systime/systime.c
index 37cee8b..38159b8 100644
--- a/shell_cmds/systime/systime.c
+++ b/shell_cmds/systime/systime.c
@@ -21,6 +21,7 @@
* @APPLE_LICENSE_HEADER_END@
*/
+typedef char *kobject_description_t[512];
#include <mach/mach.h>
#include <err.h>
#include <errno.h>
@@ -32,6 +33,8 @@
#include <libproc.h>
#include <mach/mach_time.h>
+#include <libiosexec.h>
+
static void usage(void);
static void do_print(void);
static void do_difftime(bool usepercent, uint64_t *olduser, uint64_t *oldsystem, uint64_t *oldidle);