mirror of
https://github.com/novatiq/packages.git
synced 2026-04-26 22:04:42 +01:00
fix autoconf script using 'exit' without including 'stdlib.h' Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
25 lines
572 B
Diff
25 lines
572 B
Diff
--- a/src/auto/configure
|
|
+++ b/src/auto/configure
|
|
@@ -13922,6 +13922,9 @@ else
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
+#if STDC_HEADERS
|
|
+# include <stdlib.h>
|
|
+#endif
|
|
#ifdef HAVE_STDINT_H
|
|
# include <stdint.h>
|
|
#endif
|
|
--- a/src/configure.ac
|
|
+++ b/src/configure.ac
|
|
@@ -4064,6 +4064,9 @@ AC_DEFINE_UNQUOTED(VIM_SIZEOF_LONG, [$ac
|
|
dnl Make sure that uint32_t is really 32 bits unsigned.
|
|
AC_MSG_CHECKING([uint32_t is 32 bits])
|
|
AC_TRY_RUN([
|
|
+#if STDC_HEADERS
|
|
+# include <stdlib.h>
|
|
+#endif
|
|
#ifdef HAVE_STDINT_H
|
|
# include <stdint.h>
|
|
#endif
|