summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-24 00:36:35 +0200
committerVolker Lendecke <vl@samba.org>2011-08-23 23:01:07 +0200
commit0d3dc8e2d163c044f6594f2169a2fef4f53290a1 (patch)
tree053d6805c71059839f964416e60013507ae906f6 /source3
parent932f2229f1337f3d5946103f5bd81e858ab4e805 (diff)
downloadsamba-0d3dc8e2d163c044f6594f2169a2fef4f53290a1.tar.gz
samba-0d3dc8e2d163c044f6594f2169a2fef4f53290a1.tar.bz2
samba-0d3dc8e2d163c044f6594f2169a2fef4f53290a1.zip
s3: Fix the build on FreeBSD
lsasd.c uses basename(3), which according to susv3 requires libgen.h and without which the FreeBSD build breaks.
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/lsasd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/lsasd.c b/source3/rpc_server/lsasd.c
index 4469007308..bf14b1ea58 100644
--- a/source3/rpc_server/lsasd.c
+++ b/source3/rpc_server/lsasd.c
@@ -23,6 +23,7 @@
#include "serverid.h"
#include "messages.h"
#include "ntdomain.h"
+#include <libgen.h>
#include "lib/id_cache.h"