From a125b571a4d7c6c8c491bda079115a5eab835971 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Wed, 24 Jun 2009 22:44:56 +0000 Subject: [PATCH] fbsd61-stdlib-proto-define-20090623 LICENSE IPL10 FIXES 124952 add define to make stdlib have malloc prototype --- 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 b72eae41f9..895a552e96 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 */