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

This commit is contained in:
slamm%netscape.com 1999-09-08 19:03:57 +00:00
parent 19c23f8932
commit a74fc01967

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