Author: Davide Italiano
Date: 2020-06-24T13:23:49-07:00
New Revision: 58de2a3851391dd9fa675ea6bcd26072a0638829

URL: 
https://github.com/llvm/llvm-project/commit/58de2a3851391dd9fa675ea6bcd26072a0638829
DIFF: 
https://github.com/llvm/llvm-project/commit/58de2a3851391dd9fa675ea6bcd26072a0638829.diff

LOG: [ProcessGDBRemote] Placate the Windows buildbot.

I'm probably going to rewrite this function anyway, but, in
the meanwhile.

Added: 
    

Modified: 
    lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 
b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index ebc9586dfa5d..d2b72de03eac 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -17,7 +17,9 @@
 #include <unistd.h>
 #endif
 #include <sys/stat.h>
+#ifdef defined(__APPLE__)
 #include <sys/sysctl.h>
+#endif
 #include <sys/types.h>
 #include <time.h>
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to