aboutsummaryrefslogtreecommitdiffstats
path: root/system_cmds/cpuctl.tproj
diff options
context:
space:
mode:
Diffstat (limited to 'system_cmds/cpuctl.tproj')
-rw-r--r--system_cmds/cpuctl.tproj/Makefile4
-rw-r--r--system_cmds/cpuctl.tproj/cpuctl.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/system_cmds/cpuctl.tproj/Makefile b/system_cmds/cpuctl.tproj/Makefile
new file mode 100644
index 0000000..4a51f7b
--- /dev/null
+++ b/system_cmds/cpuctl.tproj/Makefile
@@ -0,0 +1,4 @@
+PROG= cpuctl
+MAN= cpuctl.8
+
+.include <bsd.prog.mk>
diff --git a/system_cmds/cpuctl.tproj/cpuctl.c b/system_cmds/cpuctl.tproj/cpuctl.c
index 4821878..22e2f33 100644
--- a/system_cmds/cpuctl.tproj/cpuctl.c
+++ b/system_cmds/cpuctl.tproj/cpuctl.c
@@ -14,6 +14,7 @@
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
+typedef char *kobject_description_t[512];
#include <mach/mach.h>
static void usage()