Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat Bring back two lines deleted by accident. From...



details:   https://anonhg.NetBSD.org/src/rev/86d692657e64
branches:  trunk
changeset: 452217:86d692657e64
user:      hannken <hannken%NetBSD.org@localhost>
date:      Sat Jun 22 14:40:33 2019 +0000

description:
Bring back two lines deleted by accident.  From Kamil Rytarowski.

diffstat:

 tools/compat/configure |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 9979cab2cc4d -r 86d692657e64 tools/compat/configure
--- a/tools/compat/configure    Sat Jun 22 13:42:53 2019 +0000
+++ b/tools/compat/configure    Sat Jun 22 14:40:33 2019 +0000
@@ -5130,6 +5130,8 @@
 # ifdef _MSC_VER
 #  include <malloc.h>
 #  define alloca _alloca
+# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
+#   include <stdlib.h>
 # else
 #  ifdef HAVE_ALLOCA_H
 #   include <alloca.h>



Home | Main Index | Thread Index | Old Index