diff options
Diffstat (limited to 'shell_cmds/systime')
-rw-r--r-- | shell_cmds/systime/Makefile | 2 | ||||
-rw-r--r-- | shell_cmds/systime/systime.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/shell_cmds/systime/Makefile b/shell_cmds/systime/Makefile index d7f9881..c6065f3 100644 --- a/shell_cmds/systime/Makefile +++ b/shell_cmds/systime/Makefile @@ -1,3 +1,5 @@ PROG= systime +LDADD+=-liosexec + .include <bsd.prog.mk> diff --git a/shell_cmds/systime/systime.c b/shell_cmds/systime/systime.c index 37cee8b..555fc6a 100644 --- a/shell_cmds/systime/systime.c +++ b/shell_cmds/systime/systime.c @@ -32,6 +32,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); |