Fixed header inclusion for `platform.h`
authorAndrey Okoshkin <a.okoshkin@samsung.com>
Wed, 7 Feb 2018 12:56:48 +0000 (15:56 +0300)
committerAndrey Okoshkin <a.okoshkin@samsung.com>
Thu, 8 Feb 2018 13:10:13 +0000 (16:10 +0300)
src/debug/netcoredbg/platform.cpp
src/debug/netcoredbg/platform.h

index 1e3fa19cf0fefe8aecc22cc4e7cabc3930230c3a..b48ef6e13bde0125edc6445346629b0afeb69f6d 100644 (file)
@@ -2,7 +2,8 @@
 // Distributed under the MIT License.
 // See the LICENSE file in the project root for more information.
 
-#include <string>
+#include "platform.h"
+
 #include <cstring>
 #include <set>
 #include <fstream>
index c14d9899d467a22d193c6cbee315b7028d58622f..ee84cc0e72dc4a9558a42b4c462d589c3730b217 100644 (file)
@@ -1,6 +1,9 @@
 // Copyright (c) 2017 Samsung Electronics Co., LTD
 // Distributed under the MIT License.
 // See the LICENSE file in the project root for more information.
+#pragma once
+
+#include <string>
 
 unsigned long OSPageSize();
 void AddFilesFromDirectoryToTpaList(const std::string &directory, std::string &tpaList);