Fix iOS build

This commit is contained in:
pancake 2013-10-01 17:14:50 +02:00
parent d8603f2502
commit ab3c27bda3
2 changed files with 7 additions and 2 deletions

View File

@ -157,3 +157,4 @@ The door is everything.
The door controls time and space. The door controls time and space.
The door can see into your soul. The door can see into your soul.
Undefined symbol 'r_anal_fisting' Undefined symbol 'r_anal_fisting'
I am Pentium of Borg. Division is futile. You will be approximated

View File

@ -9,8 +9,12 @@
#endif #endif
#if __APPLE__ #if __APPLE__
#include <errno.h> #include <errno.h>
#include <libproc.h>
#include <execinfo.h> #include <execinfo.h>
#ifndef PROC_PIDPATHINFO_MAXSIZE
#define PROC_PIDPATHINFO_MAXSIZE 512
#else
#include <libproc.h>
#endif
#endif #endif
#if __UNIX__ #if __UNIX__
# include <sys/wait.h> # include <sys/wait.h>