[klibc] [PATCH] fix ppc64 build

Olaf Hering olh at suse.de
Sun Aug 22 23:44:59 PDT 2004


compilation fails currently for ppc64, this fixes it.
I think the comment can be removed.

--- klibc-0.148/klibc/arch/ppc64/include/klibc/archstat.h.orig	2004-07-07 16:42:17.889521447 +0200
+++ klibc-0.148/klibc/arch/ppc64/include/klibc/archstat.h	2004-07-07 16:42:28.124724287 +0200
@@ -4,7 +4,8 @@
 #define _STATBUF_ST_NSEC
 
 /* This matches struct stat64 in glibc2.1. Only used for 32 bit. */
-struct stat64 {
+
+struct stat {
 	unsigned long st_dev; 		/* Device.  */
 	unsigned long st_ino;		/* File serial number.  */
 	unsigned int st_mode;		/* File mode.  */
-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG



More information about the klibc mailing list