$NetBSD: patch-ai,v 1.1 2001/10/21 12:39:07 kent Exp $

--- include/windows.h.orig	Thu Aug 30 13:25:59 2001
+++ include/windows.h
@@ -142,7 +142,7 @@
 #define __USE_W32_SOCKETS
 #endif
 #endif
-#if defined(__USE_W32_SOCKETS) || !(defined(__CYGWIN__) || defined(__MSYS__) || defined(_UWIN))
+#if defined(__USE_W32_SOCKETS) || !(defined(__CYGWIN__) || defined(__MSYS__) || defined(_UWIN) || defined(__NetBSDPE__))
 #if (_WIN32_WINNT >= 0x0400)  && (__W32API_MAJOR_VERSION > 0)
 #include <winsock2.h>
 /*
