[git commit master] test/stat: fix compiling the memcmp-stat test when __USE_MISC is defined

Austin Foxley austinf at cetoncorp.com
Mon Nov 30 01:20:11 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=59214098c8ddda66ec7e9954b440cc67a9dbea2f
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 test/stat/memcmp-stat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/stat/memcmp-stat.c b/test/stat/memcmp-stat.c
index c38e3ff..254c754 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,
-- 
1.6.3.3



More information about the uClibc-cvs mailing list