diff --git a/xpcom/components/nsComponentManager.cpp b/xpcom/components/nsComponentManager.cpp index 42bfccfa0584..4805d569aed2 100644 --- a/xpcom/components/nsComponentManager.cpp +++ b/xpcom/components/nsComponentManager.cpp @@ -33,6 +33,10 @@ #include #include #include "primpl.h" // XXX for PR_PATH_SEPARATOR +#elif defined(XP_UNIX) +#ifndef PR_PATH_SEPARATOR +#define PR_PATH_SEPARATOR ':' // nspr doesn't like sun386i? +#endif #else #include "private/primpl.h" // XXX for PR_PATH_SEPARATOR #endif diff --git a/xpcom/src/nsComponentManager.cpp b/xpcom/src/nsComponentManager.cpp index 42bfccfa0584..4805d569aed2 100644 --- a/xpcom/src/nsComponentManager.cpp +++ b/xpcom/src/nsComponentManager.cpp @@ -33,6 +33,10 @@ #include #include #include "primpl.h" // XXX for PR_PATH_SEPARATOR +#elif defined(XP_UNIX) +#ifndef PR_PATH_SEPARATOR +#define PR_PATH_SEPARATOR ':' // nspr doesn't like sun386i? +#endif #else #include "private/primpl.h" // XXX for PR_PATH_SEPARATOR #endif