Fix for QNX, and any other platform that doesn't have memory.h. Thanks to fur@netscape.com for allowing this change.

git-svn-id: svn://10.0.0.236/trunk@31423 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
briano%netscape.com 1999-05-13 08:46:41 +00:00
parent cc00d7190a
commit ff16da1eef
3 changed files with 6 additions and 1 deletions

View File

@ -20,7 +20,9 @@
* JS bytecode generation.
*/
#include "jsstddef.h"
#ifdef HAVE_MEMORY_H
#include <memory.h>
#endif
#include <string.h>
#include "jstypes.h"
#include "jsarena.h" /* Added by JSIFY */

View File

@ -20,7 +20,9 @@
* JS bytecode descriptors, disassemblers, and decompilers.
*/
#include "jsstddef.h"
#ifdef HAVE_MEMORY_H
#include <memory.h>
#endif
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -24,9 +24,10 @@
#include <errno.h>
#include <limits.h>
#include <math.h>
#ifdef HAVE_MEMORY_H
#include <memory.h>
#endif
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "jstypes.h"