[PATCH] lib: serverid.h needs "struct db_record" declaration

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Sep 10 20:14:59 CEST 2013


Hi!

With -O3 -Wall this might lead to an error.
serverid_traverse() needs the struct db_record definition.

Please review&push!

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

*****************************************************************
visit us on it-sa:IT security exhibitions in Nürnberg, Germany
October 8th - 10th 2013, hall 12, booth 333
free tickets available via code 270691 on: www.it-sa.de/gutschein
******************************************************************
-------------- next part --------------
From 36053036dd6d67e18131700d46307ab5268784c4 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Tue, 10 Sep 2013 20:11:38 +0200
Subject: [PATCH] lib: serverid.h needs "struct db_record" declaration

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source3/include/serverid.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/source3/include/serverid.h b/source3/include/serverid.h
index 1833f53..9c84b74 100644
--- a/source3/include/serverid.h
+++ b/source3/include/serverid.h
@@ -21,6 +21,7 @@
 #define __SERVERID_H__
 
 #include "includes.h"
+#include "lib/dbwrap/dbwrap.h"
 
 /*
  * Register a server with its unique id
-- 
1.7.9.5



More information about the samba-technical mailing list