summaryrefslogtreecommitdiff
path: root/Userland/Utilities/useradd.cpp
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/Utilities/useradd.cpp
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/Utilities/useradd.cpp')
-rw-r--r--Userland/Utilities/useradd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Utilities/useradd.cpp b/Userland/Utilities/useradd.cpp
index 2b70a63baa..76eacccff1 100644
--- a/Userland/Utilities/useradd.cpp
+++ b/Userland/Utilities/useradd.cpp
@@ -6,6 +6,7 @@
#include <AK/String.h>
#include <LibCore/ArgsParser.h>
#include <ctype.h>
+#include <errno.h>
#include <pwd.h>
#include <stdio.h>
#include <string.h>