File google-perftools-ppc_asm_stat_h_old.patch of Package google-perftools
--- /usr/include/asm-powerpc/stat.h.orig 2008-09-04 11:13:50.000000000 -0600
+++ /usr/include/asm-powerpc/stat.h 2008-09-18 12:36:32.639716118 -0600
@@ -6,7 +6,13 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
-#include <linux/types.h>
+// #include <linux/types.h>
+
+#include <linux/posix_types.h>
+#include <asm/types.h>
+#include <sys/types.h>
+typedef __kernel_ino_t ino_t;
+typedef __kernel_mode_t mode_t;
#define STAT_HAVE_NSEC 1