Win32CORE.c needed windows.h
authorJerry D. Hedden <jdhedden@cpan.org>
Tue, 15 May 2007 09:10:00 +0000 (05:10 -0400)
committerSteve Hay <SteveHay@planit.com>
Tue, 15 May 2007 15:45:50 +0000 (15:45 +0000)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510705150609l1c178629i97091adbd02b6463@mail.gmail.com>

(plus a #define to save windows.h pulling in so much stuff.)

Fixes a build error on Cygwin caused by #31214.

p4raw-id: //depot/perl@31221

ext/Win32CORE/Win32CORE.c

index aacbf63..a2620b6 100644 (file)
@@ -7,6 +7,9 @@
  *
  */
 
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"