summaryrefslogtreecommitdiff
path: root/data/lsof/stat64.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/lsof/stat64.diff')
-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"
+
+