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 --- lib/replace/README | 2 ++ lib/replace/replace.h | 8 ++++++++ 2 files changed, 10 insertions(+) (limited to 'lib') diff --git a/lib/replace/README b/lib/replace/README index 787ee85812..5399971afe 100644 --- a/lib/replace/README +++ b/lib/replace/README @@ -81,6 +81,8 @@ uint{8,16,32,64}_t int{8,16,32,64}_t intptr_t sig_atomic_t +blksize_t +blkcnt_t Constants: PATH_NAME_MAX diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 776da8aa4a..debd4dae3c 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -841,4 +841,12 @@ typedef long useconds_t; int usleep(useconds_t); #endif +#ifndef HAVE_BLKSIZE_T +typedef long blksize_t; +#endif + +#ifndef HAVE_BLKCNT_T +typedef long blkcnt_t; +#endif + #endif /* _LIBREPLACE_REPLACE_H */ -- cgit