summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-01-23 17:12:25 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2012-01-23 17:12:25 +0100
commit19d13a3b17d613c04acbcd8c7a0578a55e0c2938 (patch)
tree3e68a9b34873bffa9d83a7ab26de6b161a37efc7 /storage
parent7baa64fc6182ca2baf3da6888044ef5411b51727 (diff)
downloadmariadb-git-19d13a3b17d613c04acbcd8c7a0578a55e0c2938.tar.gz
portability fixes for FreeBSD 8 and 9
Diffstat (limited to 'storage')
-rw-r--r--storage/xtradb/log/log0recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/log/log0recv.c b/storage/xtradb/log/log0recv.c
index 9c48d06eb45..c4429af5112 100644
--- a/storage/xtradb/log/log0recv.c
+++ b/storage/xtradb/log/log0recv.c
@@ -32,7 +32,7 @@ Created 9/20/1997 Heikki Tuuri
#include "config.h"
#ifdef HAVE_ALLOCA_H
#include "alloca.h"
-#else
+#elif defined(HAVE_MALLOC_H)
#include "malloc.h"
#endif