--- flexdef.h.orig Fri Sep 13 03:17:22 2002 +++ flexdef.h Sun Oct 6 10:21:59 2002 @@ -115,7 +115,7 @@ #ifdef HAVE_SYS_TYPES_H #include #endif -#ifdef HAVE_MALLOC_H +#if defined(HAVE_MALLOC_H) && !defined(__FreeBSD__) #include #endif #ifdef HAVE_UNISTD_H