Explorar o código

test/stat: fix compiling the memcmp-stat test when __USE_MISC is defined

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley %!s(int64=14) %!d(string=hai) anos
pai
achega
59214098c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/stat/memcmp-stat.c

+ 1 - 1
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,