diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2018-07-04 12:42:39 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-07-04 14:17:28 +0200 |
commit | 0ce27ecd08355620e73c89f8cf6b71f597b75f9c (patch) | |
tree | 4a527d397133ca699cad66778707d826e3c88566 | |
parent | d4f4e7ae1be1bcf8c021f2b0865aafc16b338aa3 (diff) | |
download | newlib-0ce27ecd08355620e73c89f8cf6b71f597b75f9c.zip newlib-0ce27ecd08355620e73c89f8cf6b71f597b75f9c.tar.gz newlib-0ce27ecd08355620e73c89f8cf6b71f597b75f9c.tar.bz2 |
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 <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/fhandler_socket_local.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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> |