From: Ryo HAYASAKA Date: 1999-06-21T19:39:29+09:00 Subject: [ruby-dev:7153] [patch] dbm.c, Solaris 2.6 早坂@会津大学です。 Solaris 2.6 で ext/dbm/dbm.c コンパイルする時、cdefs.h をイ ンクルードする必要があるようです。 --- configure.in.dist Mon Jun 21 17:46:27 1999 +++ configure.in Mon Jun 21 19:23:48 1999 @@ -159,9 +159,10 @@ dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC -AC_CHECK_HEADERS(stdlib.h unistd.h limits.h sys/file.h sys/ioctl.h pwd.h \ +AC_CHECK_HEADERS(stdlib.h unistd.h limits.h sys/file.h sys/ioctl.h pwd.h\ sys/select.h sys/time.h sys/times.h sys/param.h sys/wait.h\ - syscall.h a.out.h string.h utime.h memory.h direct.h fnmatch.h) + syscall.h a.out.h string.h utime.h memory.h direct.h fnmatch.h\ + cdefs.h) --- dbm.c.dist Mon Jun 21 17:38:41 1999 +++ dbm.c Mon Jun 21 18:04:27 1999 @@ -12,6 +12,9 @@ #include "ruby.h" +#ifdef HAVE_CDEFS_H +# include +#endif #include #include #include ------- Name : HAYASAKA, Ryo (早坂 良) E-mail : hayasaka@univ21.u-aizu.ac.jp URL : http://www.u-aizu.ac.jp/%7Es1041140/ Computer Science and Engineering Lab., The University of Aizu