Bug#247899: libc6-dev: <sys/stat.h> doesn't define types required by POSIX
Juergen Lock <firstname.lastname@example.org> writes:
> Package: libc6-dev
> Version: 2.3.2.ds1-10
> Severity: normal
> "The Open Group Base Specifications Issue 6: IEEE Std 1003.1-2001"
> requires (for <sys/stat.h>) that:
> "The blkcnt_t, blksize_t, dev_t, ino_t, mode_t, nlink_t,
> uid_t, gid_t, off_t, and time_t types shall be defined
> as described in <sys/types.h>."
> which doesn't seem true on Debian.
These types are supported but not enabled by default. You have to
define _XOPEN_SOURCE=500 (or =600) or _GNU_SOURCE to enable them. See
/usr/include/features.h and the "Library Summary" node in the glibc
Juergen Kreileder, Blackdown Java-Linux Team