From c226d91e0fd3e73eda801eb2ebaa1438a2b6dbeb Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Mon, 15 Sep 2008 10:40:00 +0000 Subject: Fixed lsof. git-svn-id: http://svn.telesphoreo.org/trunk@478 514c082c-b64e-11dc-b46d-3d985efe055d --- data/lsof/stat64.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 data/lsof/stat64.diff 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 ++#undef __DARWIN_64_BIT_INO_T ++#define __DARWIN_64_BIT_INO_T 0 ++ + #include "lsof.h" + + -- cgit v1.2.3