https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0ce27ecd08355620e73c89f8cf6b71f597b75f9c
commit 0ce27ecd08355620e73c89f8cf6b71f597b75f9c Author: Takashi Yano <[email protected]> Date: Wed Jul 4 12:42:39 2018 +0200 Cygwin: Include local ntsecapi.h Our local ntsecapi.h wrapper corrects a bug in the definition of SystemFunction036 which otherwise leads to crashes on 32 bit when using RtlGenRandom. The fhandler_socket_local.cc file accidentally included the incorrect w32api version of that file, rather than the local wrapper. Fix it. Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/cygwin/fhandler_socket_local.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_socket_local.cc b/winsup/cygwin/fhandler_socket_local.cc index 2e01f30..2705ecd 100644 --- a/winsup/cygwin/fhandler_socket_local.cc +++ b/winsup/cygwin/fhandler_socket_local.cc @@ -21,7 +21,7 @@ #undef u_long #define u_long __ms_u_long #endif -#include <w32api/ntsecapi.h> +#include "ntsecapi.h" #include <w32api/ws2tcpip.h> #include <w32api/mswsock.h> #include <unistd.h>
