aboutsummaryrefslogtreecommitdiffstats
path: root/system_cmds/hostinfo.tproj
diff options
context:
space:
mode:
Diffstat (limited to 'system_cmds/hostinfo.tproj')
-rw-r--r--system_cmds/hostinfo.tproj/Makefile4
-rw-r--r--system_cmds/hostinfo.tproj/hostinfo.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/system_cmds/hostinfo.tproj/Makefile b/system_cmds/hostinfo.tproj/Makefile
new file mode 100644
index 0000000..78473a2
--- /dev/null
+++ b/system_cmds/hostinfo.tproj/Makefile
@@ -0,0 +1,4 @@
+PROG= hostinfo
+MAN= hostinfo.8
+
+.include <bsd.prog.mk>
diff --git a/system_cmds/hostinfo.tproj/hostinfo.c b/system_cmds/hostinfo.tproj/hostinfo.c
index 1828583..7739975 100644
--- a/system_cmds/hostinfo.tproj/hostinfo.c
+++ b/system_cmds/hostinfo.tproj/hostinfo.c
@@ -37,6 +37,7 @@
* execting on.
*/
+typedef char *kobject_description_t[512];
#include <mach/mach.h>
#include <mach/mach_error.h>
#include <sys/sysctl.h>