From cb1366b48f788e9a5655961d0ea73b0908f72223 Mon Sep 17 00:00:00 2001 From: kosaki Date: Fri, 28 Jan 2011 03:07:23 +0000 Subject: * configure.in: Add #include when struct stat is tested. Otherwise, incomplete type dereference error will occur. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 8e1bc3b6e4..25f1bbd726 100644 --- a/configure.in +++ b/configure.in @@ -1149,7 +1149,7 @@ RUBY_CHECK_PRINTF_PREFIX(ptrdiff_t, t) AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_BLOCKS AC_STRUCT_ST_RDEV -RUBY_CHECK_SIZEOF([struct stat.st_size], [int long "long long"]) +RUBY_CHECK_SIZEOF([struct stat.st_size], [int long "long long"], [], [@%:@include ]) if test "$ac_cv_member_struct_stat_st_blocks" = yes; then RUBY_CHECK_SIZEOF([struct stat.st_blocks], [int long "long long"]) fi -- cgit v1.2.3