s3:lib/memcache: only include the required header files
authorStefan Metzmacher <metze@samba.org>
Thu, 17 Jul 2014 10:49:48 +0000 (12:49 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 7 Aug 2014 14:43:09 +0000 (16:43 +0200)
We don't need the full "includes.h".

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit b560fac7f78b761ee279d8e87a749125665eb5d1)

source3/include/memcache.h
source3/lib/memcache.c

index 9362483cea4a9bebd4dfa7965c6323dc7d8045d1..11e59718c9f14d25ed9ddfbdd0af351c1da1a2e1 100644 (file)
@@ -20,8 +20,6 @@
 #ifndef __MEMCACHE_H__
 #define __MEMCACHE_H__
 
-#include "includes.h"
-
 struct memcache;
 
 /*
index 0f0538fa88169808992241b7efe1d2a577c93ac1..50e59fc7040719b3491bba3e0deff4ca2e608257 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "memcache.h"
+#include "replace.h"
+#include <talloc.h>
+#include "../lib/util/samba_util.h"
+#include "../lib/util/debug.h"
+#include "../lib/util/dlinklist.h"
 #include "../lib/util/rbtree.h"
+#include "memcache.h"
 
 static struct memcache *global_cache;