diff options
author | Greg Clayton <gclayton@apple.com> | 2013-01-19 00:35:24 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-01-19 00:35:24 +0000 |
commit | 746a28bb556e319e6d4da6bda43fe257c6a247c4 (patch) | |
tree | 87b7c098c7da57570ac7f9a11938e5a76dd7f1be | |
parent | 7ba78c679cee83fb94bb5b404c7606ca73657dc1 (diff) | |
download | llvm-746a28bb556e319e6d4da6bda43fe257c6a247c4.zip llvm-746a28bb556e319e6d4da6bda43fe257c6a247c4.tar.gz llvm-746a28bb556e319e6d4da6bda43fe257c6a247c4.tar.bz2 |
<rdar://problem/13011717>
Fixed a compilation error that occurs when "lldb.macosx.heap" is imported and "ptr_refs" is used.
llvm-svn: 172876
-rw-r--r-- | lldb/examples/darwin/heap_find/heap/heap_find.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/examples/darwin/heap_find/heap/heap_find.cpp b/lldb/examples/darwin/heap_find/heap/heap_find.cpp index 4c0cca7..2ac1319 100644 --- a/lldb/examples/darwin/heap_find/heap/heap_find.cpp +++ b/lldb/examples/darwin/heap_find/heap/heap_find.cpp @@ -63,7 +63,7 @@ // // This is a clue that the 0x104008000 is a "lldb_private::Process *". //===----------------------------------------------------------------------===// - +// C includes #include <assert.h> #include <ctype.h> #include <dlfcn.h> @@ -73,6 +73,9 @@ #include <objc/objc-runtime.h> #include <stdio.h> #include <stdlib.h> +#include <unistd.h> + +// C++ includes #include <vector> //---------------------------------------------------------------------- |