Fix warnings (again) by moving string.h include inside ifdef. Tested on mac, win, and linux.

git-svn-id: svn://10.0.0.236/trunk@46371 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
slamm%netscape.com 1999-09-08 19:03:57 +00:00
parent 152820e6f3
commit a0c00bbe39

View File

@ -21,7 +21,6 @@
*/
#include "jsstddef.h"
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "jstypes.h"
#include "jsprf.h"
@ -1570,6 +1569,7 @@ date_toLocaleString(JSContext *cx, JSObject *obj, uintN argc,
}
#if JS_HAS_TOSOURCE
#include <string.h>
#include "jsdtoa.h"
static JSBool