OSDN Git Service

test/stat: fix compiling the memcmp-stat test when __USE_MISC is defined
authorAustin Foxley <austinf@cetoncorp.com>
Mon, 30 Nov 2009 00:49:11 +0000 (16:49 -0800)
committerAustin Foxley <austinf@cetoncorp.com>
Mon, 30 Nov 2009 01:22:18 +0000 (17:22 -0800)
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
test/stat/memcmp-stat.c

index c38e3ff..254c754 100644 (file)
@@ -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,