aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
authorlecoanet2006-09-11 14:58:19 +0000
committerlecoanet2006-09-11 14:58:19 +0000
commit3003f848974d431c6a8b75cb6fbc41ef7db65de5 (patch)
treecc27eff51fdaabc6837f7b29bbdc4b595e832392 /generic
parent9c1dd961216fee9128120da508aa8e887d25d5fc (diff)
downloadtkzinc-3003f848974d431c6a8b75cb6fbc41ef7db65de5.zip
tkzinc-3003f848974d431c6a8b75cb6fbc41ef7db65de5.tar.gz
tkzinc-3003f848974d431c6a8b75cb6fbc41ef7db65de5.tar.bz2
tkzinc-3003f848974d431c6a8b75cb6fbc41ef7db65de5.tar.xz
Fix an error when including error.h through malloc.h under freebsd.
It should be the same problem on all BSDs. Bug reported by Slaven Rezic.
Diffstat (limited to 'generic')
-rw-r--r--generic/OverlapMan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/OverlapMan.c b/generic/OverlapMan.c
index 21ae890..2b70368 100644
--- a/generic/OverlapMan.c
+++ b/generic/OverlapMan.c
@@ -29,7 +29,7 @@ static const char compile_id[]="$Compile: " __FILE__ " " __DATE__ " " __TIME__ "
#include "OverlapMan.h"
-#if defined(__APPLE__)
+#if defined(__APPLE__) || __FreeBSD__ > 3
#include <stdlib.h>
#else
#include "malloc.h"