[OpenAFS-devel] FreeBSD 5.0?

Love lha@stacken.kth.se
Fri, 04 Apr 2003 03:09:15 +0200


Jim Rees <rees@umich.edu> writes:

> Is someone working on FreeBSD 5.0?  Is it supposed to work?  I'll be happy
> to get it going but don't want to interfere.
>
> Right now it fails pretty early on:

Are you really running current code ?

Love


> /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>"

Index: mkvers.c
===================================================================
RCS file: /cvs/openafs/src/config/mkvers.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -u -w -r1.5 -r1.6
--- mkvers.c	21 Aug 2002 18:13:06 -0000	1.5
+++ mkvers.c	13 Feb 2003 07:00:08 -0000	1.6
@@ -13,12 +13,10 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <errno.h>
-#ifndef __APPLE_CC__
-#include <malloc.h>
-#endif
 #include <assert.h>
 #include <string.h>