]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add crypt32 library on Windows.
authorMichael R Sweet <msweet@msweet.org>
Wed, 4 Sep 2024 16:41:43 +0000 (12:41 -0400)
committerMichael R Sweet <msweet@msweet.org>
Wed, 4 Sep 2024 16:41:43 +0000 (12:41 -0400)
cups/tls.c

index 5e576282a9bbf67c3b70a9cbc3f9b9777c21f830..bfec2b37d09073799205538b014b9f5ddf8e6f3f 100644 (file)
@@ -18,7 +18,9 @@
 #  include <Security/Security.h>
 #endif // __APPLE__
 #ifdef _WIN32
+#  pragma comment(lib, "crypt32.lib")  // Link in crypt32 library...
 #  include <tchar.h>
+#  include <wincrypt.h>
 #else
 #  include <poll.h>
 #  include <signal.h>