diff --git a/ChangeLog b/ChangeLog index ae1084125..e0e637717 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-03-31 Riccardo Mottola + + * Source/NSWorkspace.m + Redefine statfs only for netbsd >= 3 + 2011-03-30 Fred Kiefer * Headers/AppKit/NSTableView.h, diff --git a/Source/NSWorkspace.m b/Source/NSWorkspace.m index 0321c334e..aa7343dc7 100644 --- a/Source/NSWorkspace.m +++ b/Source/NSWorkspace.m @@ -1106,7 +1106,7 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath non-standard f_basetype field, which provides the name of the underlying file system type. */ -#ifdef __NetBSD__ +#if defined (__NetBSD__) && __NetBSD_Version__ >= 300000000 #define statfs statvfs #define f_flags f_flag #endif