summaryrefslogtreecommitdiffstats
path: root/lldb/examples/functions/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/examples/functions/main.cpp')
-rw-r--r--lldb/examples/functions/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/lldb/examples/functions/main.cpp b/lldb/examples/functions/main.cpp
index fd599832c72..3f27b3993ac 100644
--- a/lldb/examples/functions/main.cpp
+++ b/lldb/examples/functions/main.cpp
@@ -10,7 +10,20 @@
#include <stdint.h>
#include <stdlib.h>
+#if defined(__APPLE__)
#include <LLDB/LLDB.h>
+#else
+#include "LLDB/SBBlock.h"
+#include "LLDB/SBCompileUnit.h"
+#include "LLDB/SBDebugger.h"
+#include "LLDB/SBFunction.h"
+#include "LLDB/SBModule.h"
+#include "LLDB/SBStream.h"
+#include "LLDB/SBSymbol.h"
+#include "LLDB/SBTarget.h"
+#include "LLDB/SBThread.h"
+#include "LLDB/SBProcess.h"
+#endif
using namespace lldb;
OpenPOWER on IntegriCloud