Skip to content

Commit

Permalink
VMS: Redefine _XOPEN_SOURCE_EXTENDED with the value 1 in apps/ocsp.c
Browse files Browse the repository at this point in the history
Some versions if the VMS C system header files seem to require this.

Fixes openssl#24466 on release older than 3.3.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from openssl#24471)

(cherry picked from commit 54e9e25)
  • Loading branch information
levitte authored and bernd-edlinger committed Jun 4, 2024
1 parent 1db4939 commit 7d427a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/ocsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include <openssl/opensslconf.h>

#ifdef OPENSSL_SYS_VMS
# define _XOPEN_SOURCE_EXTENDED/* So fd_set and friends get properly defined
* on OpenVMS */
/* So fd_set and friends get properly defined on OpenVMS */
# define _XOPEN_SOURCE_EXTENDED 1
#endif

#include <stdio.h>
Expand Down

0 comments on commit 7d427a8

Please sign in to comment.