aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/execpath.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/execpath.cpp
parent3bd25da701a5b6de40acbea240354462348803d6 (diff)
downloadydb-8d0bed04edbd809859fe349779c07ef122fdeca2.tar.gz
remove unused includes
ref:f8c119cf3a796a59ab5be4424e5364ba6a201d40
Diffstat (limited to 'util/system/execpath.cpp')
-rw-r--r--util/system/execpath.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/util/system/execpath.cpp b/util/system/execpath.cpp
index 33198af58b..9e1b5cec93 100644
--- a/util/system/execpath.cpp
+++ b/util/system/execpath.cpp
@@ -1,16 +1,14 @@
#include "platform.h"
-#include <stdlib.h>
-
#if defined(_solaris_)
#include <stdlib.h>
#elif defined(_darwin_)
#include <mach-o/dyld.h>
+ #include <util/generic/function.h>
#elif defined(_win_)
#include "winint.h"
#include <io.h>
#elif defined(_linux_)
- #include <unistd.h>
#elif defined(_freebsd_)
#include <string.h>
#include <sys/types.h> // for u_int not defined in sysctl.h
@@ -18,16 +16,8 @@
#include <unistd.h>
#endif
-#include <util/folder/dirut.h>
#include <util/generic/singleton.h>
-#include <util/generic/function.h>
-#include <util/generic/yexception.h>
-#include <util/memory/tempbuf.h>
-#include <util/stream/file.h>
-#include <util/stream/pipe.h>
-#include <util/string/cast.h>
-
-#include "filemap.h"
+
#include "execpath.h"
#include "fs.h"