summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/README2
-rw-r--r--lib/replace/replace.h8
2 files changed, 10 insertions, 0 deletions
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 */