From cbd2a79d4fad9a2d664530b2be4ff852e30507d6 Mon Sep 17 00:00:00 2001 From: "briano%netscape.com" Date: Thu, 2 Dec 1999 03:17:04 +0000 Subject: [PATCH] Fix for QNX-specific build bustage. QNX doesn't provide a prototype for truncate(). git-svn-id: svn://10.0.0.236/trunk@55012 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsFileSpecUnix.cpp | 1 + 1 file changed, 1 insertion(+) 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)