bpo-40268: Remove unused osdefs.h includes (GH-19532)

When the include is needed, add required symbol in a comment.
This commit is contained in:
Victor Stinner 2020-04-15 03:24:57 +02:00 committed by GitHub
parent d9ea5cae1d
commit 361dcdcefc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 18 additions and 20 deletions

View file

@ -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 */