Fix mess with headers.
authorMikhail Kurinnoi <m.kurinnoi@samsung.com>
Sat, 10 Oct 2020 17:30:25 +0000 (20:30 +0300)
committerAlexander Soldatov/Platform Lab /SRR/Staff Engineer/Samsung Electronics <soldatov.a@samsung.com>
Thu, 15 Oct 2020 17:10:23 +0000 (20:10 +0300)
src/debug/netcoredbg/manageddebugger.cpp
src/debug/netcoredbg/platform.cpp

index 0781d8839d978ee8a46fa66868e76284f2e43890..ce88a4f4b81a107fe13109e77ff9d34de6f3fd49 100644 (file)
@@ -29,9 +29,7 @@ using std::map;
 
 #ifdef FEATURE_PAL
 #include <pthread.h>
-#include <link.h>
-#include <sys/types.h>
-#include <sys/wait.h>
+#include <dlfcn.h>
 
 namespace {
 namespace hook {
index 2d288ff22a5a8bf8b60b5170cb856c5826209b4c..75c1d66f58920775a3655d41226174ba4934c679 100644 (file)
@@ -33,6 +33,7 @@
 
 #if defined(__APPLE__)
 #include <mach-o/dyld.h>
+#include <crt_externs.h>
 #else
 #include <linux/limits.h>
 #endif