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

This commit is contained in:
briano%netscape.com 1999-05-13 08:46:41 +00:00
parent 05ac669b96
commit e9a7ddffb9
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"