From 5701a4d8611ad1e310b76b00b146b0902c9b34ff Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 9 Apr 2012 11:04:07 -0700 Subject: Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with platforms that don't have these. Autobuild-User: Jeremy Allison Autobuild-Date: Mon Apr 9 21:40:42 CEST 2012 on sn-devel-104 --- source3/configure.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 98714d5dd2..bc8afc007d 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2943,6 +2943,9 @@ AC_TRY_RUN([ #endif #include #include +#ifndef HAVE_BLKCNT_T +typedef long blkcnt_t; +#endif main() { exit((sizeof(blkcnt_t) == 4) ? 0 : 1); }], samba_cv_SIZEOF_BLKCNT_T_4=yes,samba_cv_SIZEOF_BLKCNT_T_4=no,samba_cv_SIZEOF_BLKCNT_T_4=cross)]) if test x"$samba_cv_SIZEOF_BLKCNT_T_4" = x"yes"; then @@ -2956,6 +2959,9 @@ AC_TRY_RUN([ #endif #include #include +#ifndef HAVE_BLKCNT_T +typedef long blkcnt_t; +#endif main() { exit((sizeof(blkcnt_t) == 8) ? 0 : 1); }], samba_cv_SIZEOF_BLKCNT_T_8=yes,samba_cv_SIZEOF_BLKCNT_T_8=no,samba_cv_SIZEOF_BLKCNT_T_8=cross)]) if test x"$samba_cv_SIZEOF_BLKCNT_T_8" = x"yes"; then -- cgit