From bee7712d9fadb29584b91bd8e565d2a718791e8c Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 28 Jan 2002 15:39:11 +0000 Subject: [PATCH] #includes malloc.h instead of alloc.h (but only if not FreeBSD). --- src/uifc/uifc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/uifc/uifc.h b/src/uifc/uifc.h index 561f5a4123..bda36f0094 100644 --- a/src/uifc/uifc.h +++ b/src/uifc/uifc.h @@ -37,7 +37,6 @@ #include <time.h> #include <fcntl.h> -#include <alloc.h> #include <ctype.h> #include <stdio.h> #include <string.h> @@ -51,6 +50,9 @@ #include <io.h> #include <conio.h> #endif +#if !defined(__FreeBSD__) + #include <malloc.h> /* malloc prototype */ +#endif #if (defined(__unix__) || defined(_WIN32)) && !defined(__FLAT__) #define __FLAT__ #else -- GitLab