Module Name: src
Committed By: christos
Date: Tue Dec 7 02:22:37 UTC 2021
Modified Files:
src/external/lgpl3/gmp/dist: gmp-impl.h
Log Message:
fix alloca for NetBSD lint
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/lgpl3/gmp/dist/gmp-impl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/lgpl3/gmp/dist/gmp-impl.h
diff -u src/external/lgpl3/gmp/dist/gmp-impl.h:1.6 src/external/lgpl3/gmp/dist/gmp-impl.h:1.7
--- src/external/lgpl3/gmp/dist/gmp-impl.h:1.6 Sun Jul 11 17:15:45 2021
+++ src/external/lgpl3/gmp/dist/gmp-impl.h Mon Dec 6 21:22:37 2021
@@ -210,6 +210,8 @@ see https://www.gnu.org/licenses/. */
# else
# if !defined (__NetBSD__)
char *alloca ();
+# else
+# include <stdlib.h>
# endif
# endif
# endif