diff --git a/mozilla/xpcom/io/nsFileSpecUnix.cpp b/mozilla/xpcom/io/nsFileSpecUnix.cpp index 0e0078d48ef..b9f53d4a348 100644 --- a/mozilla/xpcom/io/nsFileSpecUnix.cpp +++ b/mozilla/xpcom/io/nsFileSpecUnix.cpp @@ -69,6 +69,7 @@ #if defined(__QNX__) #include /* for realpath */ #define f_bavail f_bfree +extern "C" int truncate(const char *, off_t); #endif #if defined(SUNOS4)