From b01fce3c220726d5908fe788634807fa4b1bced1 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Wed, 24 Jun 2009 22:45:14 +0000 Subject: [PATCH] STABLE14-fbsd61-stdlib-proto-define-20090623 LICENSE IPL10 FIXES 124952 add define to make stdlib have malloc prototype (cherry picked from commit a125b571a4d7c6c8c491bda079115a5eab835971) --- src/config/param.i386_fbsd_61.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/config/param.i386_fbsd_61.h b/src/config/param.i386_fbsd_61.h index b72eae41f..895a552e9 100644 --- a/src/config/param.i386_fbsd_61.h +++ b/src/config/param.i386_fbsd_61.h @@ -195,4 +195,10 @@ enum vcexcl { NONEXCL, EXCL }; #endif /* !defined(UKERNEL) */ +/* general user-space compiles */ + +#if defined(UKERNEL) || !defined(KERNEL) +#define STDLIB_HAS_MALLOC_PROTOS 1 +#endif + #endif /* AFS_PARAM_H */ -- 2.39.5