--- configure.orig	2010-03-05 02:45:16.000000000 +0900
+++ configure	2020-11-22 10:19:59.000000000 +0900
@@ -5080,6 +5080,7 @@
     { echo "$as_me:$LINENO: checking for Fortran integer type equivalent to C pointer" >&5
 echo $ECHO_N "checking for Fortran integer type equivalent to C pointer... $ECHO_C" >&6; }
     cat << EOF >conftest.c
+#include <stdlib.h>
 #include <stdio.h>
 int main()
 {
