From: Harald Barth Date: Wed, 24 Jun 2009 22:44:56 +0000 (+0000) Subject: fbsd61-stdlib-proto-define-20090623 X-Git-Tag: openafs-devel-1_5_61~205 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a125b571a4d7c6c8c491bda079115a5eab835971;p=packages%2Fo%2Fopenafs.git fbsd61-stdlib-proto-define-20090623 LICENSE IPL10 FIXES 124952 add define to make stdlib have malloc prototype --- 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 */