diff --git a/mozilla/xpcom/base/nsDebug.cpp b/mozilla/xpcom/base/nsDebug.cpp index 4c31ab631c2..3627cc4f5ba 100644 --- a/mozilla/xpcom/base/nsDebug.cpp +++ b/mozilla/xpcom/base/nsDebug.cpp @@ -18,6 +18,7 @@ #include "nsDebug.h" #include "prlog.h" +#include "prinit.h" #if defined(HPUX) /* for abort() */ @@ -87,7 +88,7 @@ NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine) #elif defined(XP_MAC) ExitToShell(); #elif defined(XP_UNIX) - ::abort(); + PR_Abort(); #endif } diff --git a/mozilla/xpcom/glue/nsDebug.cpp b/mozilla/xpcom/glue/nsDebug.cpp index 4c31ab631c2..3627cc4f5ba 100644 --- a/mozilla/xpcom/glue/nsDebug.cpp +++ b/mozilla/xpcom/glue/nsDebug.cpp @@ -18,6 +18,7 @@ #include "nsDebug.h" #include "prlog.h" +#include "prinit.h" #if defined(HPUX) /* for abort() */ @@ -87,7 +88,7 @@ NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine) #elif defined(XP_MAC) ExitToShell(); #elif defined(XP_UNIX) - ::abort(); + PR_Abort(); #endif } diff --git a/mozilla/xpcom/src/nsDebug.cpp b/mozilla/xpcom/src/nsDebug.cpp index 4c31ab631c2..3627cc4f5ba 100644 --- a/mozilla/xpcom/src/nsDebug.cpp +++ b/mozilla/xpcom/src/nsDebug.cpp @@ -18,6 +18,7 @@ #include "nsDebug.h" #include "prlog.h" +#include "prinit.h" #if defined(HPUX) /* for abort() */ @@ -87,7 +88,7 @@ NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine) #elif defined(XP_MAC) ExitToShell(); #elif defined(XP_UNIX) - ::abort(); + PR_Abort(); #endif }