summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2023-01-18 08:59:17 +0100
committerStefan Metzmacher <metze@samba.org>2023-01-18 11:49:38 +0000
commit35ee3e0231ac95cc81dee32eb8efd97e0c3016f9 (patch)
treed1dc964772a20413c61445ffe8a4e03e403e2c3d /ctdb
parent99de0cf6ff085476191d6f3e63327c5068a233f8 (diff)
downloadsamba-35ee3e0231ac95cc81dee32eb8efd97e0c3016f9.tar.gz
ctdb: Fix the build on FreeBSD
"basename" is define in libgen.h included from system/dir.h Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/server/ctdb_mutex_fcntl_helper.c1
1 files changed, 1 insertions, 0 deletions
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 <tevent.h>