diff options
Diffstat (limited to 'lldb/test/functionalities/plugins/commands/plugin.cpp')
| -rw-r--r-- | lldb/test/functionalities/plugins/commands/plugin.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lldb/test/functionalities/plugins/commands/plugin.cpp b/lldb/test/functionalities/plugins/commands/plugin.cpp index 7b4e46fc484..be3d29325de 100644 --- a/lldb/test/functionalities/plugins/commands/plugin.cpp +++ b/lldb/test/functionalities/plugins/commands/plugin.cpp @@ -1,4 +1,4 @@ -//===-- fooplugin.cpp -------------------------------------------*- C++ -*-===// +//===-- plugin.cpp -------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -13,9 +13,15 @@ Compile this into a dylib foo.dylib and load by placing in appropriate locations by typing plugin load foo.dylib at the LLDB command line */ +#if defined (__APPLE__) #include <LLDB/SBCommandInterpreter.h> #include <LLDB/SBCommandReturnObject.h> #include <LLDB/SBDebugger.h> +#else +#include <lldb/API/SBCommandInterpreter.h> +#include <lldb/API/SBCommandReturnObject.h> +#include <lldb/API/SBDebugger.h> +#endif namespace lldb { bool |

