From 46ff8acdfe0a02b9dc7919218945602a363495a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 26 Aug 2008 18:18:03 +0200
Subject: [PATCH] Fixed minor issue in DMALLOC mode.

Rev: src/block_alloc.h:1.88
---
 src/block_alloc.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/block_alloc.h b/src/block_alloc.h
index 486c920946..010aa3105f 100644
--- a/src/block_alloc.h
+++ b/src/block_alloc.h
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: block_alloc.h,v 1.87 2008/05/24 12:18:50 mast Exp $
+|| $Id: block_alloc.h,v 1.88 2008/08/26 16:18:03 grubba Exp $
 */
 
 #undef PRE_INIT_BLOCK
@@ -97,7 +97,8 @@
  * the payload data (i.e. that aren't x). This can be used in BSIZE to
  * make the block fit within a page. */
 #ifndef BLOCK_HEADER_SIZE
-#define BLOCK_HEADER_SIZE (3 * sizeof (void *) + sizeof (INT32))
+#define BLOCK_HEADER_SIZE (3 * sizeof (void *) + sizeof (INT32) \
+			   DO_IF_DMALLOC( + sizeof(INT32)))
 #endif
 
 #define BLOCK_ALLOC(DATA,BSIZE)						\
-- 
GitLab