From: Volker Lendecke Date: Fri, 22 Jul 2022 17:08:10 +0000 (+0200) Subject: lib: On FreeBSD util_paths.c does not find struct stat X-Git-Tag: tevent-0.13.0~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=930426db02e493e259128a22aed6ba64d0bff786;p=thirdparty%2Fsamba.git lib: On FreeBSD util_paths.c does not find struct stat Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sun Jul 24 00:25:49 UTC 2022 on sn-devel-184 --- diff --git a/lib/util/util_paths.c b/lib/util/util_paths.c index 8ac85460fba..d162e0a8295 100644 --- a/lib/util/util_paths.c +++ b/lib/util/util_paths.c @@ -26,6 +26,7 @@ #include "dynconfig/dynconfig.h" #include "lib/util/util_paths.h" #include "system/passwd.h" +#include "system/filesys.h" /** * @brief Returns an absolute path to a file in the Samba modules directory.