summaryrefslogtreecommitdiff
path: root/Userland/DevTools/UserspaceEmulator
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-11 05:53:37 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-11 09:51:20 +0200
commit8ca5b8c0652bf73b53ddbbade9738432bd7c20c6 (patch)
treed69cdc937f652a6453302aa9a4b91f658ce149db /Userland/DevTools/UserspaceEmulator
parentbe4b20c14d13246b6b798e931ede2df22de54737 (diff)
downloadserenity-8ca5b8c0652bf73b53ddbbade9738432bd7c20c6.zip
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.
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator')
-rw-r--r--Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp
index e6418da153..e81cc100b0 100644
--- a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp
+++ b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp
@@ -29,6 +29,7 @@
#include "SimpleRegion.h"
#include <AK/Debug.h>
#include <AK/Format.h>
+#include <fcntl.h>
#include <sched.h>
#include <serenity.h>
#include <strings.h>