diff options
| author | Pavel Labath <labath@google.com> | 2015-07-13 12:27:28 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2015-07-13 12:27:28 +0000 |
| commit | b6fddcd7351fea62d5d5e10a36c176a478cb1de2 (patch) | |
| tree | dfb834dd6fe0e0f63a5dca15803b56f52be21b95 /lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp | |
| parent | 73263d72d38366012a32f053b2412b3c37622a56 (diff) | |
| download | bcm5719-llvm-b6fddcd7351fea62d5d5e10a36c176a478cb1de2.tar.gz bcm5719-llvm-b6fddcd7351fea62d5d5e10a36c176a478cb1de2.zip | |
Avoid dependency on uuid.h in MacOSXDYLD
Summary:
r241964 has added a dependency on uuid.h, which (on linux at least) necessitates instalation of a
new package. Since the only thing we need from that file is uuid_t (and this is already defined
in UuidCompatibility.h), we can avoid this dependency by making this include __APPLE__ specific.
If in future, we need more from this library, we can revisit this decision.
Reviewers: jasonmolenda
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D11135
llvm-svn: 242022
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp')
| -rw-r--r-- | lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp index 5d7b478e014..433137cbaf2 100644 --- a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp +++ b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp @@ -7,8 +7,6 @@ // //===----------------------------------------------------------------------===// -#include <uuid/uuid.h> - #include "lldb/Breakpoint/StoppointCallbackContext.h" #include "lldb/Core/DataBuffer.h" #include "lldb/Core/DataBufferHeap.h" @@ -41,6 +39,8 @@ #ifndef __APPLE__ #include "Utility/UuidCompatibility.h" +#else +#include <uuid/uuid.h> #endif using namespace lldb; |

