about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2012-02-23 18:08:48 -0600
committerMarco Peereboom <marco@conformal.com>2012-02-23 18:08:48 -0600
commitbfc73f8bbb339716392a3a85fb4c03ba2b1f984a (patch)
tree97cb02ebbb2af9bd60d94e0dfc8afc9f0cf9ab80
parent8a87f01e0cbc78d16d6902d430f38403cbed514d (diff)
downloadxombrero-bfc73f8bbb339716392a3a85fb4c03ba2b1f984a.tar.gz
make xxxterm compile on osx
-rw-r--r--xxxterm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/xxxterm.h b/xxxterm.h
index 4478c0c..a0492c2 100644
--- a/xxxterm.h
+++ b/xxxterm.h
@@ -49,7 +49,10 @@ u_int32_t	arc4random_uniform(u_int32_t);
 #include <util.h>
 #include <sys/tree.h>
 #else
-#include <sys/tree.h>
+void		arc4random_buf(void *, size_t);
+u_int32_t	arc4random_uniform(u_int32_t);
+#include "util.h"
+#include "tree.h"
 #endif
 #include <sys/queue.h>
 #include <sys/socket.h>