$NetBSD: patch-ad,v 1.2 2004/11/23 22:56:57 xtraeme Exp $ --- bcheck.c.orig 2004-11-23 23:37:40.000000000 +0100 +++ bcheck.c 2004-11-23 23:39:19.000000000 +0100 @@ -21,6 +21,7 @@ #include #include #include +#include #ifndef __FreeBSD__ #include #endif @@ -36,8 +37,8 @@ #define HAVE_MEMALIGN -#if defined(__FreeBSD__) || defined(__dietlibc__) -#warning Bound checking not fully supported on FreeBSD +#if defined(BSD) || defined(__dietlibc__) +#warning Bound checking not fully supported on *BSD #undef CONFIG_TCC_MALLOC_HOOKS #undef HAVE_MEMALIGN #endif