Re: [Openvpn-devel] [PATCH] include unistd.h for _exit(2) declaration

2022-05-27 Thread Heiko Hund
Hi Gert On Freitag, 27. Mai 2022 13:40:57 CEST Gert Doering wrote: > is included by "syshead.h" already today, with a nice > HAVE_UNISTD_H wraper (thus, not depending on a "if it's not WIN32, > it surely must have unistd.h" assumption). > > So I wonder what issue this fixes? I see no compile ti

Re: [Openvpn-devel] [PATCH] include unistd.h for _exit(2) declaration

2022-05-27 Thread Gert Doering
Hi, On Fri, May 27, 2022 at 01:34:11PM +0200, Heiko Hund wrote: > Signed-off-by: Heiko Hund > --- > src/openvpn/error.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/openvpn/error.h b/src/openvpn/error.h > index 972619fe..76308560 100644 > --- a/src/openvpn/error.h > +++ b/src/

[Openvpn-devel] [PATCH] include unistd.h for _exit(2) declaration

2022-05-27 Thread Heiko Hund
Signed-off-by: Heiko Hund --- src/openvpn/error.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openvpn/error.h b/src/openvpn/error.h index 972619fe..76308560 100644 --- a/src/openvpn/error.h +++ b/src/openvpn/error.h @@ -33,6 +33,8 @@ #if _WIN32 #include +#else +#include #endi