summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-11-29 16:49:11 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-11-29 17:22:18 -0800
commitba84b6bf13f61fcbb3e3d292d1358a6cbddc439b (patch)
tree912062db28411f1159db6c30eb227837e82da2bc
parent2218a91b0effd50e0d15f1c5ff90d503640bf842 (diff)
test/stat: fix compiling the memcmp-stat test when __USE_MISC is defined
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--test/stat/memcmp-stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stat/memcmp-stat.c b/test/stat/memcmp-stat.c
index c38e3ff88..254c754c4 100644
--- a/test/stat/memcmp-stat.c
+++ b/test/stat/memcmp-stat.c
@@ -48,7 +48,7 @@ static void show_stat(struct stat *st)
(long int)st->st_size,
(long int)st->st_blksize,
(long int)st->st_blocks,
-#ifndef __UCLIBC__
+#if !defined(__UCLIBC__) || defined(__USE_MISC)
(long int)st->st_atime,
(long int)st->st_atim.tv_nsec,
(long int)st->st_mtime,