summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-09-15 10:40:00 +0000
committerJay Freeman <saurik@saurik.com>2008-09-15 10:40:00 +0000
commitc226d91e0fd3e73eda801eb2ebaa1438a2b6dbeb (patch)
treed84da93a2b8cb805a276407c21b8aa41a4942022
parent646ec031cfe403ecb6ca5adab36dc97e5d4f2a03 (diff)
Fixed lsof.
git-svn-id: http://svn.telesphoreo.org/trunk@478 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r--data/lsof/stat64.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/data/lsof/stat64.diff b/data/lsof/stat64.diff
new file mode 100644
index 000000000..8f81397bf
--- /dev/null
+++ b/data/lsof/stat64.diff
@@ -0,0 +1,14 @@
+diff -ru lsof-33/lsof/dialects/darwin/libproc/dsock.c lsof-33+iPhone/lsof/dialects/darwin/libproc/dsock.c
+--- lsof-33/lsof/dialects/darwin/libproc/dsock.c 2006-03-23 21:28:26.000000000 +0000
++++ lsof-33+iPhone/lsof/dialects/darwin/libproc/dsock.c 2008-09-15 10:38:08.000000000 +0000
+@@ -41,6 +41,10 @@
+ #endif
+
+
++#include <sys/cdefs.h>
++#undef __DARWIN_64_BIT_INO_T
++#define __DARWIN_64_BIT_INO_T 0
++
+ #include "lsof.h"
+
+