diff --git a/mozilla/xpcom/io/nsLocalFileUnix.cpp b/mozilla/xpcom/io/nsLocalFileUnix.cpp index b42a50e37ee..5df926d029c 100644 --- a/mozilla/xpcom/io/nsLocalFileUnix.cpp +++ b/mozilla/xpcom/io/nsLocalFileUnix.cpp @@ -56,6 +56,9 @@ // we need these for statfs() #ifdef HAVE_SYS_STATVFS_H +#if defined(__osf__) && defined(__DECCXX) + extern "C" int statvfs(const char *, struct statvfs *); +#endif #include #endif