diff --git a/js/src/jslibmath.h b/js/src/jslibmath.h index b1645414ead..d2c99fe506f 100644 --- a/js/src/jslibmath.h +++ b/js/src/jslibmath.h @@ -26,6 +26,9 @@ #include #include "jsconfig.h" +#ifdef MOZILLA_CLIENT +#include "platform.h" +#endif /* * Define which platforms on which to use fdlibm. Not used diff --git a/js/src/jsosdep.h b/js/src/jsosdep.h index 787b36d3fb9..dddafbc1bd1 100644 --- a/js/src/jsosdep.h +++ b/js/src/jsosdep.h @@ -22,6 +22,10 @@ * OS (and machine, and compiler XXX) dependent information. */ +#ifdef MOZILLA_CLIENT +#include "platform.h" +#endif + #ifdef XP_PC #ifdef _WIN32 diff --git a/js/src/prmjtime.c b/js/src/prmjtime.c index 4dc652ada38..1781efc4f62 100644 --- a/js/src/prmjtime.c +++ b/js/src/prmjtime.c @@ -19,6 +19,9 @@ /* * PR time code. */ +#ifdef MOZILLA_CLIENT +#include "platform.h" +#endif #ifdef SOLARIS #define _REENTRANT 1 #endif