Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release-src > by-pkgid > 66bb19747fb95d7f7b5a45fa7662cd0f > files > 13

uClibc-0.9.30.1-12mdv2010.1.src.rpm

From 59214098c8ddda66ec7e9954b440cc67a9dbea2f Mon Sep 17 00:00:00 2001
From: Austin Foxley <austinf@cetoncorp.com>
Date: Sun, 29 Nov 2009 16:49:11 -0800
Subject: [PATCH 7680/7685] test/stat: fix compiling the memcmp-stat test when __USE_MISC is defined

Signed-off-by: Austin Foxley <austinf@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.5.3