sortix-mirror/libc/include/sys
Jonas 'Sortie' Termansen 29555d72bb Fix <fcntl.h> including <sys/stat.h> namespace pollution.
POSIX allows <fcntl.h> to include <sys/stat.h>, but doesn't require it.
There's little reason to do that, since they are separate headers, and
<fcntl.h> just needs the mode_t constants. Fix the code accidentally
relying on <fcntl.h> including <sys/stat.h>. The mode_t constants are now
provided in their own kernel header <sortix/mode.h>.

Additionally fix <sys/stat.h> pulling in all of <sys/types.h>, which is not
allowed by POSIX, which only requires a few types to be declared. Fix the
code accidentally relying on <sys/stat.h> including <sys/types.h>.

Finally fix <dirent.h> pulling in <stdint.h> through <sortix/dirent.h>.

The <sortix/__/dt.h> and <sortix/__/stat.h> headers are no longer required
and their contents have been merged into <sortix/__/dirent.h>.
2018-08-06 23:59:34 +02:00
..
__ Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
cdefs.h Add restartable system calls compatibility macro. 2017-12-04 23:56:47 +01:00
display.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ioctl.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
kernelinfo.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
keycodes.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mman.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mount.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
readdirents.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
resource.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
select.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
socket.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
stat.h Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
statvfs.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
syscall.h Compile libc with -ffreestanding. 2016-05-15 22:43:29 +02:00
termmode.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
time.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
times.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
types.h Compile libc with -ffreestanding. 2016-05-15 22:43:29 +02:00
uio.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
un.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
utsname.h Remove uname -i and -o options. 2016-05-15 22:43:29 +02:00
wait.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00