aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/user.cpp
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-04-07 08:59:43 +0300
committertobo <tobo@yandex-team.ru>2022-04-07 08:59:43 +0300
commit8d0bed04edbd809859fe349779c07ef122fdeca2 (patch)
tree5637277bc2da6afb261b990047079e132f5b8d2b /util/system/user.cpp
parent3bd25da701a5b6de40acbea240354462348803d6 (diff)
downloadydb-8d0bed04edbd809859fe349779c07ef122fdeca2.tar.gz
remove unused includes
ref:f8c119cf3a796a59ab5be4424e5364ba6a201d40
Diffstat (limited to 'util/system/user.cpp')
-rw-r--r--util/system/user.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/util/system/user.cpp b/util/system/user.cpp
index 83e89ea0a8..05439f8939 100644
--- a/util/system/user.cpp
+++ b/util/system/user.cpp
@@ -1,6 +1,4 @@
#include "user.h"
-#include "platform.h"
-#include "defaults.h"
#include "env.h"
#include <util/generic/yexception.h>
@@ -8,7 +6,7 @@
#ifdef _win_
#include "winint.h"
#else
- #include <errno.h>
+ #include <cerrno>
#include <pwd.h>
#include <unistd.h>
#endif