summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-06-06 21:41:55 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-06-06 22:51:16 +0200
commitecfad04e4fa57d4c64e0a97fb62f7222e21574e0 (patch)
tree65d5886c9e13f6241ed7b7b66a9c8722cc101e0f
parent0ec1657186930e15178883ea086e59acbd87442f (diff)
sys/types.h: sync with GNU C library
Fixed in glibc commit f9cfa295ae3f2556bd8808f0ff693cfe44f4ac25. Found via Buildroot autobuilder and gdbm package cross-compile.
-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