/* -*-c-*-
*
- * $Id: sub.h,v 1.6 2000/06/17 10:35:51 mdw Exp $
+ * $Id: sub.h,v 1.7 2003/10/12 14:44:46 mdw Exp $
*
* Allocation of known-size blocks
*
/*----- Revision history --------------------------------------------------*
*
* $Log: sub.h,v $
+ * Revision 1.7 2003/10/12 14:44:46 mdw
+ * Various fixes.
+ *
* Revision 1.6 2000/06/17 10:35:51 mdw
* Major overhaul for arena support.
*
#include <stdlib.h>
+#ifndef MLIB_ALIGN_H
+# include "align.h"
+#endif
+
#ifndef MLIB_ARENA_H
# include "arena.h"
#endif
/* --- The granularity of bin buffers --- *
*
- * All blocks allocated by the binner are a multiple of this size. I've
- * chosen @void *@ because I need to store @void *@ things in here.
+ * All blocks allocated by the binner are a multiple of this size.
*/
-#define SUB_GRANULE sizeof(void *)
+#define SUB_GRANULE sizeof(union align)
/* --- Finding the right bin for a given size --- *
*