1
Fork 0
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:
Gunnar Beutner 2021-04-11 05:53:37 +02:00 committed by Andreas Kling
parent be4b20c14d
commit 8ca5b8c065
10 changed files with 37 additions and 32 deletions

View file

@ -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)