Skip to content

Commit

Permalink
Fix build on cygwin
Browse files Browse the repository at this point in the history
Fixes #19531

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #21006)
  • Loading branch information
baentsch authored and t8m committed Jun 12, 2023
1 parent 78634e8 commit 9b9c42d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Configurations/10-main.conf
Expand Up @@ -1717,6 +1717,7 @@ my %targets = (
CFLAGS => picker(default => "-Wall",
debug => "-g -O0",
release => "-O3"),
ex_libs => add("-lcrypt32"),
lib_cppflags => "-DTERMIOS -DL_ENDIAN",
sys_id => "CYGWIN",
thread_scheme => "pthread",
Expand Down
4 changes: 3 additions & 1 deletion providers/implementations/storemgmt/winstore_store.c
Expand Up @@ -23,7 +23,9 @@
#include "prov/implementations.h"
#include "prov/bio.h"
#include "file_store_local.h"

#ifdef __CYGWIN__
#include <Windows.h>
#endif
#include <wincrypt.h>

enum {
Expand Down

0 comments on commit 9b9c42d

Please sign in to comment.