Re: [Openvpn-devel] [PATCH] keyingmaterialexporter.c: include strings.h

2022-02-03 Thread Antonio Quartulli
Hi, On 03/02/2022 09:32, Gert Doering wrote: Hi, On Thu, Feb 03, 2022 at 09:26:20AM +0100, Antonio Quartulli wrote: strcasecmp() was initially declared in string.h and subsequently moved to strings.h. For historical reasons it still exists in string.h, but would require _DEFAULT_SOURCE to be d

Re: [Openvpn-devel] [PATCH] keyingmaterialexporter.c: include strings.h

2022-02-03 Thread Gert Doering
Hi, On Thu, Feb 03, 2022 at 09:26:20AM +0100, Antonio Quartulli wrote: > strcasecmp() was initially declared in string.h and subsequently moved > to strings.h. For historical reasons it still exists in string.h, but > would require _DEFAULT_SOURCE to be defined. > > Due to the above, just include

[Openvpn-devel] [PATCH] keyingmaterialexporter.c: include strings.h

2022-02-03 Thread Antonio Quartulli
strcasecmp() was initially declared in string.h and subsequently moved to strings.h. For historical reasons it still exists in string.h, but would require _DEFAULT_SOURCE to be defined. Due to the above, just include strings.h as currently dictated by the manpage. Fixes the following warning: ke