X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Flinux%2Fstat.h;h=611c398dab72bd52e47c3945e81935b25956d818;hb=2df005b75ab910f789f099f81bb70b3aa37203a7;hp=4f8539ccff6cf8addcf9d3561d58d5ba8b518c26;hpb=574009c1a895aeeb85eaab29c235d75852b09eb8;p=deliverable%2Flinux.git diff --git a/include/linux/stat.h b/include/linux/stat.h index 4f8539ccff6c..611c398dab72 100644 --- a/include/linux/stat.h +++ b/include/linux/stat.h @@ -7,7 +7,7 @@ #endif -#ifdef __KERNEL__ +#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) #define S_IFMT 00170000 #define S_IFSOCK 0140000 @@ -53,6 +53,9 @@ #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) #define S_IXUGO (S_IXUSR|S_IXGRP|S_IXOTH) +#define UTIME_NOW ((1l << 30) - 1l) +#define UTIME_OMIT ((1l << 30) - 2l) + #include #include