From: Volker Lendecke Date: Wed, 18 Jan 2023 07:59:17 +0000 (+0100) Subject: ctdb: Fix the build on FreeBSD X-Git-Tag: talloc-2.4.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35ee3e0231ac95cc81dee32eb8efd97e0c3016f9;p=thirdparty%2Fsamba.git ctdb: Fix the build on FreeBSD "basename" is define in libgen.h included from system/dir.h Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- diff --git a/ctdb/server/ctdb_mutex_fcntl_helper.c b/ctdb/server/ctdb_mutex_fcntl_helper.c index 84d3790db57..aac98eaeead 100644 --- a/ctdb/server/ctdb_mutex_fcntl_helper.c +++ b/ctdb/server/ctdb_mutex_fcntl_helper.c @@ -25,6 +25,7 @@ #include "system/filesys.h" #include "system/network.h" #include "system/wait.h" +#include "system/dir.h" #include