X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Ftypes.h;h=b9b65f6af06ab172afe1b3ac004407d3d81bed81;hb=a3b20f67b35e26813d02e08043db2a5d9263f255;hp=72b4c5c12edf2b5980b6333903958b4c2bf88a7e;hpb=28bde3b78746c4f773600c415fbc740efec4e311;p=musl diff --git a/include/sys/types.h b/include/sys/types.h index 72b4c5c1..b9b65f6a 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -59,7 +59,7 @@ typedef __uint32_t u_int32_t; typedef __uint64_t u_int64_t; #ifdef _GNU_SOURCE -typedef unsigned long caddr_t; +typedef char *caddr_t; typedef unsigned char u_char; typedef unsigned short u_short, ushort; typedef unsigned u_int, uint; @@ -72,6 +72,15 @@ typedef long register_t; #include #endif +#ifdef _LARGEFILE64_SOURCE +#define blksize64_t blksize_t +#define blkcnt64_t blkcnt_t +#define fsblkcnt64_t fsblkcnt_t +#define fsfilcnt64_t fsfilcnt_t +#define ino64_t ino_t +#define off64_t off_t +#endif + #ifdef __cplusplus } #endif