summaryrefslogtreecommitdiffstats
path: root/osdep-darwin.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-02-07 19:41:35 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-02-07 19:41:35 +0000
commit028419ff4b01df2a6befa6eec5eab4d2d1703b69 (patch)
tree8616241e513939179d9c2a687aa0dc9433c4c502 /osdep-darwin.c
parent1583b87ae607ab7162a24c7f67091fccc487c1c7 (diff)
Comment. Missing OS X headers. +TODO.
Diffstat (limited to 'osdep-darwin.c')
-rw-r--r--osdep-darwin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/osdep-darwin.c b/osdep-darwin.c
index e8b184f8..9ca0b3dd 100644
--- a/osdep-darwin.c
+++ b/osdep-darwin.c
@@ -1,4 +1,4 @@
-/* $Id: osdep-darwin.c,v 1.3 2009-01-30 20:14:35 nicm Exp $ */
+/* $Id: osdep-darwin.c,v 1.4 2009-02-07 19:41:35 nicm Exp $ */
/*
* Copyright (c) 2009 Joshua Elsasser <josh@elsasser.org>
@@ -22,6 +22,8 @@
#include <sys/sysctl.h>
#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
char *get_argv0(int, char *);