summaryrefslogtreecommitdiff
path: root/secblock.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-08-15 01:55:01 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-08-15 01:55:01 +0000
commitbcf53396738893db18ae854f93e9f36ac659b28b (patch)
treef2030ee8624660e7921e391d2e2b2f687c3bf1f5 /secblock.h
parent52c8201e056c136b6d178414e93754eb8e5f1d2c (diff)
downloadcryptopp-bcf53396738893db18ae854f93e9f36ac659b28b.tar.gz
fix compile for QNX
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@389 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'secblock.h')
-rw-r--r--secblock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/secblock.h b/secblock.h
index 4e082b8..420dc1c 100644
--- a/secblock.h
+++ b/secblock.h
@@ -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>