Fixed header inclusions in `manageddebugger.h`
authorAndrey Okoshkin <a.okoshkin@samsung.com>
Thu, 8 Feb 2018 12:21:32 +0000 (15:21 +0300)
committerAndrey Okoshkin <a.okoshkin@samsung.com>
Thu, 8 Feb 2018 13:10:13 +0000 (16:10 +0300)
src/debug/netcoredbg/manageddebugger.cpp
src/debug/netcoredbg/manageddebugger.h

index 59ba95b23e35cdbd390292a108ae8a3fb551aa9c..595b4657cc9628fcd934c53f690cb2dbc9350544 100644 (file)
@@ -2,29 +2,26 @@
 // Distributed under the MIT License.
 // See the LICENSE file in the project root for more information.
 
-#include "common.h"
+#include "manageddebugger.h"
 
 #include <sstream>
 #include <mutex>
-#include <condition_variable>
 #include <memory>
-#include <unordered_map>
-#include <vector>
-#include <list>
 #include <chrono>
 
 #include "symbolreader.h"
 #include "cputil.h"
 #include "platform.h"
 #include "typeprinter.h"
-#include "manageddebugger.h"
 #include "frames.h"
 
+#ifndef __in
 #define __in
+#endif
+#ifndef __out
 #define __out
+#endif
 #include "dbgshim.h"
-#undef __in
-#undef __out
 
 
 void ManagedDebugger::NotifyProcessCreated()
index 39af330bfeea3778a18e3563f755d1ce70d08455..c91ab2f08ae0a9d30a5a3a4d3a4581b3d597b1af 100644 (file)
@@ -1,6 +1,7 @@
 // Copyright (c) 2018 Samsung Electronics Co., LTD
 // Distributed under the MIT License.
 // See the LICENSE file in the project root for more information.
+#pragma once
 
 #include <unordered_map>
 #include <unordered_set>
@@ -9,6 +10,7 @@
 #include <future>
 
 #include "debugger.h"
+#include "protocol.h"
 #include "modules.h"