From ee66d0c3d5e2bc63a81ec5893c81671a1d8e9635 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Mon, 15 Jul 2002 16:10:55 +0000 Subject: /F revealed that ShellExecute() only requires shellapi.h, not the full-blown windows.h, so changed accordingly. --- Modules/posixmodule.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 8a419c3..47bea6f 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -217,8 +217,9 @@ extern int lstat(const char *, struct stat *); #include #include #include "osdefs.h" -/* We don't want WIN32_LEAN_AND_MEAN here -- we need ShellExecute(). */ +#define WIN32_LEAN_AND_MEAN #include +#include /* for ShellExecute() */ #define popen _popen #define pclose _pclose #endif /* _MSC_VER */ -- cgit v0.12