summaryrefslogtreecommitdiffstats
path: root/util/system/execpath.cpp
diff options
context:
space:
mode:
authorpg <[email protected]>2025-07-10 19:07:07 +0300
committerpg <[email protected]>2025-07-10 20:03:28 +0300
commit43cc41b23a0aaae6d5d1403873c0b1debb16fb3c (patch)
tree0b6bad7bfce6fa3c404218a3063fda71475deb9a /util/system/execpath.cpp
parent117da6ce0823863b075cb19e2004eeace13e2f7e (diff)
port util to freebsd, again
``` [pg@arc ~]$ ./util-ut <----- TSaveLoadTest [exec] TSaveLoadTest::TestSaveLoad... [good] TSaveLoadTest::TestSaveLoad [exec] TSaveLoadTest::TestSaveLoadEmptyStruct... [good] TSaveLoadTest::TestSaveLoadEmptyStruct [exec] TSaveLoadTest::TestNewStyle... [good] TSaveLoadTest::TestNewStyle [exec] TSaveLoadTest::TestNewNewStyle... [good] TSaveLoadTest::TestNewNewStyle [exec] TSaveLoadTest::TestList... [good] TSaveLoadTest::TestList [exec] TSaveLoadTest::TestTuple... [good] TSaveLoadTest::TestTuple [exec] TSaveLoadTest::TestVariant... [good] TSaveLoadTest::TestVariant [exec] TSaveLoadTest::TestOptional... [good] TSaveLoadTest::TestOptional [exec] TSaveLoadTest::TestInheritNonVirtualClass... [good] TSaveLoadTest::TestInheritNonVirtualClass [exec] TSaveLoadTest::TestInheritVirtualClass... [good] TSaveLoadTest::TestInheritVirtualClass -----> TSaveLoadTest -> ok: 10 [DONE] ok: 10 [pg@arc ~]$ uname -a FreeBSD arc.freebsd.devtools 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64 [pg@arc ~]$ ``` commit_hash:229d8aa6c8ccce1376d152a833fe8bf7c5faa3bd
Diffstat (limited to 'util/system/execpath.cpp')
-rw-r--r--util/system/execpath.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/system/execpath.cpp b/util/system/execpath.cpp
index f53eb1eba5c..b253ea3063e 100644
--- a/util/system/execpath.cpp
+++ b/util/system/execpath.cpp
@@ -14,6 +14,7 @@
#include <sys/types.h> // for u_int not defined in sysctl.h
#include <sys/sysctl.h>
#include <unistd.h>
+ #include <util/folder/dirut.h>
#endif
#include <util/generic/singleton.h>