mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:04:57 +00:00
LibC: Move S_* defines into <fcntl.h>
According to the Single UNIX Specification, Version 2 that's where those macros should be defined. This fixes the libiconv port. This also fixes some (but not all) build errors for the diffutils and nano ports.
This commit is contained in:
parent
be4b20c14d
commit
8ca5b8c065
10 changed files with 37 additions and 32 deletions
|
@ -30,6 +30,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static Vector<int> collect_fds(Vector<const char*> paths, bool append, bool* err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue