summaryrefslogtreecommitdiff
path: root/test/stat/memcmp-stat.c
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:15:36 -0800
commit59214098c8ddda66ec7e9954b440cc67a9dbea2f (patch)
tree065ae362cbb8e234120b2c95d378efe04445e14f /test/stat/memcmp-stat.c
parent8739ed0a9b6597e7106f878ec159a19fe0848f23 (diff)
test/stat: fix compiling the memcmp-stat test when __USE_MISC is defined
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'test/stat/memcmp-stat.c')
-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,