fix compile for QNX

pull/2/head
weidai 2007-08-15 01:55:01 +00:00
parent 7a6d06eee0
commit d3626970a6
2 changed files with 2 additions and 2 deletions

1
misc.h
View File

@ -3,6 +3,7 @@
#include "cryptlib.h"
#include "smartptr.h"
#include <string.h> // for memcpy and memmove
#ifdef _MSC_VER
#include <stdlib.h>

View File

@ -5,10 +5,9 @@
#include "config.h"
#include "misc.h"
#include <string.h> // CodeWarrior doesn't have memory.h
#include <assert.h>
#if defined(CRYPTOPP_MEMALIGN_AVAILABLE) || defined(CRYPTOPP_MM_MALLOC_AVAILABLE)
#if defined(CRYPTOPP_MEMALIGN_AVAILABLE) || defined(CRYPTOPP_MM_MALLOC_AVAILABLE) || defined(QNX)
#include <malloc.h>
#else
#include <stdlib.h>