diff options
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r-- | lldb/scripts/Python/modules/readline/readline.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/scripts/Python/modules/readline/readline.cpp b/lldb/scripts/Python/modules/readline/readline.cpp index 38268f8a4b6..d66ccf4b6b7 100644 --- a/lldb/scripts/Python/modules/readline/readline.cpp +++ b/lldb/scripts/Python/modules/readline/readline.cpp @@ -1,6 +1,10 @@ -#include <stdio.h> +// NOTE: Since Python may define some pre-processor definitions which affect the +// standard headers on some systems, you must include Python.h before any +// standard headers are included. #include "Python.h" +#include <stdio.h> + #ifndef LLDB_DISABLE_LIBEDIT #include <editline/readline.h> #endif |