]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Add a few required #includes
authorVolker Lendecke <vl@samba.org>
Tue, 30 May 2023 11:27:00 +0000 (13:27 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 16 Jun 2023 16:14:30 +0000 (16:14 +0000)
You find them if you try to #include these files directly

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/crypto/gnutls_helpers.h
source3/include/smbprofile.h
source3/utils/conn_tdb.h
source4/lib/messaging/irpc.h
source4/lib/messaging/messaging.h

index 6719a5996043d96f96cb3dc88cdcbda133385d1a..4e6f4f3f8b1f2674db79f6ac9ca8175940260e81 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "libcli/util/ntstatus.h"
 #include "libcli/util/werror.h"
+#include "lib/util/data_blob.h"
 
 /* Those macros are only available in GnuTLS >= 3.6.4 */
 #ifndef GNUTLS_FIPS140_SET_LAX_MODE
index 62873a5532b5802f0ce5b4b57c262e6762438bd5..3c9de1592127e343357dd769dc20b71c8387ecfb 100644 (file)
@@ -21,6 +21,9 @@
 
 */
 
+#include "replace.h"
+#include "lib/util/time.h"
+
 struct tevent_context;
 
 #ifdef WITH_PROFILE
index cbcf11d960aadd3ec4613b015200e92b858b9f21..2a6e04e0a820fc167514873c485f5bfc76a98287 100644 (file)
@@ -19,6 +19,8 @@
 
 /* key and data in the connections database - used in smbstatus and smbd */
 
+#include "source3/include/includes.h"
+
 struct connections_data {
        struct server_id pid;
        int cnum;
index ebf30afdb3f271515dab8f2ff813247fa5bd7cf8..d6a5c46504e56afd5134b81b9a9e978e11e02ab4 100644 (file)
@@ -23,6 +23,7 @@
 #define IRPC_H
 
 #include "lib/messaging/messaging.h"
+#include "libcli/util/werror.h"
 #include "librpc/gen_ndr/irpc.h"
 
 /*
index 3aa70b3f900695e3d69bc774f09ab7f399c5077d..76b99cab614dc0a044712b1a407cc7e478e00b9a 100644 (file)
 #define _SOURCE4_LIB_MESSAGING_MESSAGES_H_
 
 #include "librpc/gen_ndr/server_id.h"
+#include "lib/util/data_blob.h"
 #include "librpc/gen_ndr/messaging.h"
 
+struct loadparm_context;
 struct imessaging_context;
 
 /* taskid for messaging of parent process */