Source-Changes-HG archive

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

[src/trunk]: src/external/lgpl3/gmp/dist fix alloca for NetBSD lint



details:   https://anonhg.NetBSD.org/src/rev/d7738737e823
branches:  trunk
changeset: 1026782:d7738737e823
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 07 02:22:37 2021 +0000

description:
fix alloca for NetBSD lint

diffstat:

 external/lgpl3/gmp/dist/gmp-impl.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r d1a7610b88c4 -r d7738737e823 external/lgpl3/gmp/dist/gmp-impl.h
--- a/external/lgpl3/gmp/dist/gmp-impl.h        Mon Dec 06 23:26:28 2021 +0000
+++ b/external/lgpl3/gmp/dist/gmp-impl.h        Tue Dec 07 02:22:37 2021 +0000
@@ -210,6 +210,8 @@
 #     else
 #      if !defined (__NetBSD__)
         char *alloca ();
+#      else
+#       include <stdlib.h>
 #      endif
 #     endif
 #    endif



Home | Main Index | Thread Index | Old Index