X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=lib%2Flfs.h;h=5aac2363015ac5f22e3b0950e1679b3ce073bb0a;hb=d1a5b69d490ce61a0f41db08263580487720bf2f;hp=1be226dfa0abd9eef9b03a0d83efe22781c2e631;hpb=1d509bc55739e766a466bc01a35db298c12f5d04;p=libucw.git diff --git a/lib/lfs.h b/lib/lfs.h index 1be226df..5aac2363 100644 --- a/lib/lfs.h +++ b/lib/lfs.h @@ -24,7 +24,7 @@ #define sh_pread pread64 #define sh_pwrite pwrite64 #define sh_stat stat64 -#define sh_stat_t stat64 +typedef struct stat64 sh_stat_t; #else /* !CONFIG_LFS */ @@ -35,7 +35,7 @@ #define sh_pread pread #define sh_pwrite pwrite #define sh_stat stat -#define sh_stat_t stat +typedef struct stat sh_stat_t; #endif /* !CONFIG_LFS */