summaryrefslogtreecommitdiff
path: root/gdb/python/py-gdb-readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-gdb-readline.c')
-rw-r--r--gdb/python/py-gdb-readline.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/python/py-gdb-readline.c b/gdb/python/py-gdb-readline.c
index 1e6cd739d6a..e022a3a6306 100644
--- a/gdb/python/py-gdb-readline.c
+++ b/gdb/python/py-gdb-readline.c
@@ -18,10 +18,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+
+/* Local non-gdb includes. */
#include "python-internal.h"
-#include "top.h"
+
+/* Local subdirectory includes. */
#include "cli/cli-utils.h"
+/* Local includes. */
+#include "top.h"
+
/* Readline function suitable for PyOS_ReadlineFunctionPointer, which
is used for Python's interactive parser and raw_input. In both
cases, sys_stdin and sys_stdout are always stdin and stdout