summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore
diff options
context:
space:
mode:
authorJean-Baptiste Boric <jblbeurope@gmail.com>2021-05-14 16:32:57 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-14 22:24:02 +0200
commite16894af5affa556d9198feef864e27d19d504fb (patch)
tree48d093e2ead1e40549e859e883a2405bd499469e /Userland/Libraries/LibCore
parent7f498769aca2b18a463e627bdc9cb8deccd9f59c (diff)
downloadserenity-e16894af5affa556d9198feef864e27d19d504fb.zip
LibC: Do not include errno.h inside unistd.h
POSIX does not mandate this, therefore let's not do it.
Diffstat (limited to 'Userland/Libraries/LibCore')
-rw-r--r--Userland/Libraries/LibCore/FileWatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/FileWatcher.cpp b/Userland/Libraries/LibCore/FileWatcher.cpp
index 7b7f64da37..cab5fec492 100644
--- a/Userland/Libraries/LibCore/FileWatcher.cpp
+++ b/Userland/Libraries/LibCore/FileWatcher.cpp
@@ -18,6 +18,7 @@
#include <Kernel/API/InodeWatcherFlags.h>
#include <LibCore/DirIterator.h>
#include <LibCore/Notifier.h>
+#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/stat.h>