Fix build on -current (don't try and prototype functions from <stdlib.h>)
This commit is contained in:
parent
b0b0fe101a
commit
99a35848b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65676
1 changed files with 12 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue