fbsd61-stdlib-proto-define-20090623
authorHarald Barth <haba@pdc.kth.se>
Wed, 24 Jun 2009 22:44:56 +0000 (22:44 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 24 Jun 2009 22:44:56 +0000 (22:44 +0000)
LICENSE IPL10
FIXES 124952

add define to make stdlib have malloc prototype

src/config/param.i386_fbsd_61.h

index b72eae4..895a552 100644 (file)
@@ -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 */