diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-15 01:24:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 01:24:57 (GMT) |
commit | 361dcdcefc80f5729ed18ac0ef73327794fbf400 (patch) | |
tree | 9ec3e27545cbf1f5f082b612ecbeb94b759827f9 /Modules/posixmodule.c | |
parent | d9ea5cae1d07e1ee8b03540a9367c26205e0e360 (diff) | |
download | cpython-361dcdcefc80f5729ed18ac0ef73327794fbf400.zip cpython-361dcdcefc80f5729ed18ac0ef73327794fbf400.tar.gz cpython-361dcdcefc80f5729ed18ac0ef73327794fbf400.tar.bz2 |
bpo-40268: Remove unused osdefs.h includes (GH-19532)
When the include is needed, add required symbol in a comment.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index f5beb09..89f9757 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -312,11 +312,11 @@ extern char *ctermid_r(char *); #ifndef IO_REPARSE_TAG_MOUNT_POINT #define IO_REPARSE_TAG_MOUNT_POINT (0xA0000003L) #endif -#include "osdefs.h" +#include "osdefs.h" // SEP #include <malloc.h> #include <windows.h> -#include <shellapi.h> /* for ShellExecute() */ -#include <lmcons.h> /* for UNLEN */ +#include <shellapi.h> // ShellExecute() +#include <lmcons.h> // UNLEN #define HAVE_SYMLINK #endif /* _MSC_VER */ |