summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sys/types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/types.h b/include/sys/types.h
index 2b45d0300..078a29cd8 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -223,7 +223,8 @@ typedef int register_t __attribute__ ((__mode__ (__word__)));
#endif /* Use BSD. */
-#if defined __USE_UNIX98 && !defined __blksize_t_defined
+#if (defined __USE_UNIX98 || defined __USE_XOPEN2K8) \
+ && !defined __blksize_t_defined
typedef __blksize_t blksize_t;
# define __blksize_t_defined
#endif