summaryrefslogtreecommitdiff
path: root/system/libgcrypt/missing-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/libgcrypt/missing-headers.patch')
-rw-r--r--system/libgcrypt/missing-headers.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/libgcrypt/missing-headers.patch b/system/libgcrypt/missing-headers.patch
new file mode 100644
index 000000000..ec0df3985
--- /dev/null
+++ b/system/libgcrypt/missing-headers.patch
@@ -0,0 +1,13 @@
+A similar fix to this is upstream for 1.10.1.
+
+--- libgcrypt-1.10.0/random/jitterentropy-base-user.h.old 2022-01-25 15:55:44.000000000 -0600
++++ libgcrypt-1.10.0/random/jitterentropy-base-user.h 2022-02-06 17:00:02.040000000 -0600
+@@ -54,6 +54,8 @@
+ # error This module needs stdint.h - try ./configure --disable-jent-support
+ #endif
+
++#include <fcntl.h>
++#include <limits.h>
+
+ /* When using the libgcrypt secure memory mechanism, all precautions
+ * are taken to protect our state. If the user disables secmem during