Don't include Python.h in the shared header.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@105737 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/ScriptInterpreterPython.cpp b/source/Interpreter/ScriptInterpreterPython.cpp
index 6b2e3b2..330e437 100644
--- a/source/Interpreter/ScriptInterpreterPython.cpp
+++ b/source/Interpreter/ScriptInterpreterPython.cpp
@@ -179,7 +179,7 @@
     PyObject *compiled_module = Py_CompileString (embedded_interpreter_string, "embedded_interpreter.py",
                                                   Py_file_input);
 
-    m_compiled_module = compiled_module;
+    m_compiled_module = static_cast<void*>(compiled_module);
 
     init_lldb ();
 
@@ -196,7 +196,9 @@
     const char *pty_slave_name = GetScriptInterpreterPtyName ();
     FILE *out_fh = Debugger::GetSharedInstance().GetOutputFileHandle();
     
-    PyObject *pmod = PyImport_ExecCodeModule((char *)"embedded_interpreter", m_compiled_module);
+    PyObject *pmod = PyImport_ExecCodeModule(
+                         const_cast<char*>("embedded_interpreter"),
+                         static_cast<PyObject*>(m_compiled_module));
     if (pmod != NULL)
     {
         PyRun_SimpleString ("ConsoleDict = locals()");