diff options
author | NIIBE Yutaka <[email protected]> | 2024-02-15 05:40:33 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2024-02-15 05:40:33 +0000 |
commit | 874918ab915263b5e3de5ad6296045d936164542 (patch) | |
tree | cd44183c53ecf12789433e8800f5d604bdc44213 /dirmngr/certcache.c | |
parent | dirmngr:w32: Add include files. (diff) | |
download | gnupg-874918ab915263b5e3de5ad6296045d936164542.tar.gz gnupg-874918ab915263b5e3de5ad6296045d936164542.zip |
common,dirmngr:w32: Add include files.
* common/dynload.h: Include windows.h. Don't define RTLD_LAZY, if
already defined.
* common/init.c: Include wctype.h.
* dirmngr/certcache.c: Include wincrypt.h.
* dirmngr/dns-stuff.c: Include ws2tcpip.h.
--
GnuPG-bug-id: 5894
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/certcache.c')
-rw-r--r-- | dirmngr/certcache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dirmngr/certcache.c b/dirmngr/certcache.c index 6b194f31c..b7b5b3d15 100644 --- a/dirmngr/certcache.c +++ b/dirmngr/certcache.c @@ -100,7 +100,8 @@ static unsigned int any_cert_of_class; #ifdef HAVE_W32_SYSTEM -/* We load some functions dynamically. Provide typedefs for tehse +#include <wincrypt.h> +/* We load some functions dynamically. Provide typedefs for these * functions. */ typedef HCERTSTORE (WINAPI *CERTOPENSYSTEMSTORE) (HCRYPTPROV hProv, LPCSTR szSubsystemProtocol); |