diff options
Diffstat (limited to 'shell_cmds/systime')
-rw-r--r-- | shell_cmds/systime/Makefile | 5 | ||||
-rw-r--r-- | shell_cmds/systime/systime.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/shell_cmds/systime/Makefile b/shell_cmds/systime/Makefile new file mode 100644 index 0000000..c6065f3 --- /dev/null +++ b/shell_cmds/systime/Makefile @@ -0,0 +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); |