diff options
-rw-r--r-- | coreutils/date.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/coreutils/date.c b/coreutils/date.c index d70957cf6..a1a004d45 100644 --- a/coreutils/date.c +++ b/coreutils/date.c | |||
@@ -250,7 +250,10 @@ int date_main(int argc UNUSED_PARAM, char **argv) | |||
250 | ts.tv_sec = statbuf.st_mtime; | 250 | ts.tv_sec = statbuf.st_mtime; |
251 | #if ENABLE_FEATURE_DATE_NANO | 251 | #if ENABLE_FEATURE_DATE_NANO |
252 | ts.tv_nsec = statbuf.st_mtim.tv_nsec; | 252 | ts.tv_nsec = statbuf.st_mtim.tv_nsec; |
253 | /* some toolchains use .st_mtimensec instead of st_mtim.tv_nsec */ | 253 | /* Some toolchains use .st_mtimensec instead of st_mtim.tv_nsec. |
254 | * If you need #define SVID_SOURCE 1 to enable st_mtim.tv_nsec, | ||
255 | * drop a mail to project mailing list please | ||
256 | */ | ||
254 | #endif | 257 | #endif |
255 | } else { | 258 | } else { |
256 | #if ENABLE_FEATURE_DATE_NANO | 259 | #if ENABLE_FEATURE_DATE_NANO |