Fix build on -current (don't try and prototype functions from <stdlib.h>)

This commit is contained in:
Kris Kennaway 2002-09-05 09:03:24 +00:00
parent b0b0fe101a
commit 99a35848b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65676

View file

@ -1,11 +1,20 @@
--- bin/mkcmd/machine.h.orig Thu Dec 30 15:41:29 1999
+++ bin/mkcmd/machine.h Thu Dec 30 15:41:38 1999
--- bin/mkcmd/machine.h.orig Sun Jul 30 14:56:23 2000
+++ bin/mkcmd/machine.h Thu Sep 5 00:58:57 2002
@@ -13,7 +13,7 @@
#endif
#if !defined(DEFDIR)
-#define DEFDIR "/usr/local/lib/mkcmd:/usr/local/lib/mkcmd/type"
+#define DEFDIR "%%PREFIX%%/share/mkcmd:%%PREFIX%%/share/mkcmd/type"
+#define DEFDIR "/usr/local/share/mkcmd:/usr/local/share/mkcmd/type"
#endif
#if !defined(TILDEDIR)
@@ -105,7 +105,7 @@
#endif
#if !defined(NEED_MALLOC_EXTERN)
-#define NEED_MALLOC_EXTERN (!USE_MALLOC_H && !defined(NEXT2) && !defined(IRIX) && !defined(BSDI))
+#define NEED_MALLOC_EXTERN (!USE_MALLOC_H && !defined(NEXT2) && !defined(IRIX) && !defined(BSDI) && !defined(FREEBSD))
#endif
#if !defined(NEED_OFFSET_TYPE)