Blame SOURCES/0003-Limit-the-include-scope-do-not-indirectly-include-le.patch

4b13ad
From 4a530a12ac1ffae4e935f59262b62d893acb9751 Mon Sep 17 00:00:00 2001
4b13ad
From: Boris Ranto <branto@redhat.com>
4b13ad
Date: Mon, 22 Sep 2014 14:43:50 +0200
4b13ad
Subject: [PATCH] Limit the include scope -- do not (indirectly) include
4b13ad
 leveldb to ceph-conf and cephx authentication
4b13ad
4b13ad
---
4b13ad
 src/auth/cephx/CephxServiceHandler.cc | 3 +--
4b13ad
 src/tools/ceph_conf.cc                | 2 +-
4b13ad
 2 files changed, 2 insertions(+), 3 deletions(-)
4b13ad
4b13ad
diff --git a/src/auth/cephx/CephxServiceHandler.cc b/src/auth/cephx/CephxServiceHandler.cc
4b13ad
index c5d91d9..77b9bb5 100644
4b13ad
--- a/src/auth/cephx/CephxServiceHandler.cc
4b13ad
+++ b/src/auth/cephx/CephxServiceHandler.cc
4b13ad
@@ -14,12 +14,11 @@
4b13ad
 
4b13ad
 
4b13ad
 #include "CephxServiceHandler.h"
4b13ad
+#include "CephxKeyServer.h"
4b13ad
 #include "CephxProtocol.h"
4b13ad
 
4b13ad
 #include "../Auth.h"
4b13ad
 
4b13ad
-#include "mon/Monitor.h"
4b13ad
-
4b13ad
 #include <errno.h>
4b13ad
 #include <sstream>
4b13ad
 
4b13ad
diff --git a/src/tools/ceph_conf.cc b/src/tools/ceph_conf.cc
4b13ad
index 09bbc56..8cbfcbf 100644
4b13ad
--- a/src/tools/ceph_conf.cc
4b13ad
+++ b/src/tools/ceph_conf.cc
4b13ad
@@ -18,7 +18,7 @@
4b13ad
 #include <sys/stat.h>
4b13ad
 #include <sys/types.h>
4b13ad
 
4b13ad
-#include "mon/AuthMonitor.h"
4b13ad
+#include "mon/MonMap.h"
4b13ad
 #include "common/ConfUtils.h"
4b13ad
 #include "global/global_init.h"
4b13ad
 #include "common/entity_name.h"
4b13ad
-- 
4b13ad
1.9.3
4b13ad