From b1f94ae5f07547562a35ed5aba901bdca1ae5dd0 Mon Sep 17 00:00:00 2001 From: Apple Date: Tue, 3 Jul 2012 22:18:36 +0000 Subject: [PATCH] file_cmds-230.tar.gz --- file_cmds.xcodeproj/project.pbxproj | 5 +++++ install/xinstall.c | 1 + stat/stat.c | 1 + 3 files changed, 7 insertions(+) diff --git a/file_cmds.xcodeproj/project.pbxproj b/file_cmds.xcodeproj/project.pbxproj index 83e7031..4298ee4 100644 --- a/file_cmds.xcodeproj/project.pbxproj +++ b/file_cmds.xcodeproj/project.pbxproj @@ -2838,6 +2838,10 @@ FC8A8BC914B648EF001B97AD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "HAVE_CONFIG_H=0", + ); }; name = Release; }; @@ -2922,6 +2926,7 @@ WARNING_CFLAGS = ( "-Wall", "-Werror", + "-Wundef", ); }; name = Release; diff --git a/install/xinstall.c b/install/xinstall.c index e70342b..88616e2 100644 --- a/install/xinstall.c +++ b/install/xinstall.c @@ -67,6 +67,7 @@ static const char rcsid[] = #include #ifdef __APPLE__ +#include #include #endif /* __APPLE__ */ diff --git a/stat/stat.c b/stat/stat.c index 0191ba8..8869f72 100644 --- a/stat/stat.c +++ b/stat/stat.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD: src/usr.bin/stat/stat.c,v 1.6 2003/10/06 01:55:17 dougb Exp #define HAVE_STRUCT_STAT_ST_GEN 1 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1 #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1 +#define HAVE_STRUCT_STAT_ST_ATIM 0 #define HAVE_DEVNAME 1 #endif /* HAVE_CONFIG_H */ -- 2.45.2