]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbd: Add header inclusion guards in globals.h
authorSamuel Cabrero <scabrero@samba.org>
Thu, 12 Sep 2019 17:05:57 +0000 (19:05 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 18 Oct 2019 16:07:35 +0000 (16:07 +0000)
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/smbd/globals.h

index 1e4cfc1e4667768c5b63d2f3e027129ddcb3cd8b..d7d584eb274e3a9cebe98f43cef254ece0c92a22 100644 (file)
@@ -18,6 +18,9 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#ifndef _SOURCE3_SMBD_GLOBALS_H_
+#define _SOURCE3_SMBD_GLOBALS_H_
+
 #include "system/select.h"
 #include "librpc/gen_ndr/smbXsrv.h"
 #include "smbprofile.h"
@@ -901,3 +904,5 @@ struct smbd_server_connection {
 extern struct smbXsrv_client *global_smbXsrv_client;
 
 void smbd_init_globals(void);
+
+#endif /* _SOURCE3_SMBD_GLOBALS_H_ */