void-packages/srcpkgs/pam-u2f/patches/musl.patch

25 lines
443 B
Diff

diff --git b64.c b64.c
index 0649c1e..7788089 100644
--- b64.c
+++ b64.c
@@ -4,6 +4,7 @@
#include <openssl/bio.h>
#include <openssl/evp.h>
+#include <limits.h>
#include <stdint.h>
#include <string.h>
diff --git util.c util.c
index 3ec4e71..5989c6c 100644
--- util.c
+++ util.c
@@ -9,6 +9,7 @@
#include <openssl/ec.h>
#include <openssl/obj_mac.h>
+#include <limits.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/stat.h>