diff --git a/mozilla/base/src/unix/nsFileSpecUnix.cpp b/mozilla/base/src/unix/nsFileSpecUnix.cpp index 3b022d072f0..dab41c97758 100644 --- a/mozilla/base/src/unix/nsFileSpecUnix.cpp +++ b/mozilla/base/src/unix/nsFileSpecUnix.cpp @@ -31,16 +31,15 @@ #if defined(IRIX) || defined(OSF1) || defined(SOLARIS) || defined(UNIXWARE) || defined(SNI) || defined(NCR) || defined(NEC) || defined(DGUX) || defined(NTO) #include /* for statvfs() */ #define STATFS statvfs -#elif defined(SCO_SV) +#if defined(SCO_SV) #define _SVID3/* for statvfs.h */ -#include /* for statvfs() */ -#define STATFS statvfs +#endif /* SCO_SV */ #elif defined(HPUX) || defined(LINUX) #include /* for statfs() */ #define STATFS statfs #if defined(SUNOS4) extern "C" int statfs(char *, struct statfs *); -#endif +#endif /* SUNOS4 */ #else #if defined(BSDI) || defined(NETBSD) || defined(OPENBSD) || defined(RHAPSODY) || defined(FREEBSD) #include /* for statfs() */ diff --git a/mozilla/xpcom/io/nsFileSpecUnix.cpp b/mozilla/xpcom/io/nsFileSpecUnix.cpp index 3b022d072f0..dab41c97758 100644 --- a/mozilla/xpcom/io/nsFileSpecUnix.cpp +++ b/mozilla/xpcom/io/nsFileSpecUnix.cpp @@ -31,16 +31,15 @@ #if defined(IRIX) || defined(OSF1) || defined(SOLARIS) || defined(UNIXWARE) || defined(SNI) || defined(NCR) || defined(NEC) || defined(DGUX) || defined(NTO) #include /* for statvfs() */ #define STATFS statvfs -#elif defined(SCO_SV) +#if defined(SCO_SV) #define _SVID3/* for statvfs.h */ -#include /* for statvfs() */ -#define STATFS statvfs +#endif /* SCO_SV */ #elif defined(HPUX) || defined(LINUX) #include /* for statfs() */ #define STATFS statfs #if defined(SUNOS4) extern "C" int statfs(char *, struct statfs *); -#endif +#endif /* SUNOS4 */ #else #if defined(BSDI) || defined(NETBSD) || defined(OPENBSD) || defined(RHAPSODY) || defined(FREEBSD) #include /* for statfs() */