s3: lib/ctdbd_conn: include .h, not .c
authorRalph Boehme <slow@samba.org>
Fri, 29 Jun 2018 06:00:10 +0000 (08:00 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 3 Jul 2018 23:19:50 +0000 (01:19 +0200)
Probably a copy/paste mistake. Detected by a failing autobuild on
sn-devel and a local make test:

Build failed: default/examples/libsmbclient/testbrowse2: Symbol
tevent_req_is_unix_error linked in multiple libraries
['samba-cluster-support', 'tevent-util']
UNEXPECTED(failure): wafsamba.duplicate_symbols.duplicate_symbols(none)

Wonder why this didn't fail before in autobuild.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Jul  4 01:19:50 CEST 2018 on sn-devel-144

source3/lib/ctdbd_conn.c

index 9832dfae7b42a2254ced1c09927989fb523ea106..dc6aa28231612894734811711fa371a34ad68fe6 100644 (file)
@@ -32,7 +32,7 @@
 #include "lib/util/genrand.h"
 #include "lib/util/fault.h"
 #include "lib/util/dlinklist.h"
-#include "lib/util/tevent_unix.c"
+#include "lib/util/tevent_unix.h"
 #include "lib/util/sys_rw.h"
 #include "lib/util/blocking.h"
 #include "ctdb/include/ctdb_protocol.h"