Skip to content

Commit 0905105

Browse files
committed
Clean up #includes in remote_debugging.c
1 parent 80fab75 commit 0905105

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Python/remote_debugging.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#define _GNU_SOURCE
22
#include "pyconfig.h"
33

4+
#include "Python.h"
5+
#include "internal/pycore_runtime.h"
6+
#include "internal/pycore_ceval.h"
7+
48
#ifdef __linux__
59
# include <elf.h>
610
# include <sys/uio.h>
@@ -57,13 +61,6 @@
5761
#include <unistd.h>
5862
#endif
5963

60-
#ifndef Py_BUILD_CORE_BUILTIN
61-
# define Py_BUILD_CORE_MODULE 1
62-
#endif
63-
#include "Python.h"
64-
#include <internal/pycore_runtime.h>
65-
#include <internal/pycore_ceval.h>
66-
6764
#ifndef HAVE_PROCESS_VM_READV
6865
# define HAVE_PROCESS_VM_READV 0
6966
#endif

0 commit comments

Comments
 (0)