summaryrefslogtreecommitdiff
path: root/system/libgcrypt/missing-headers.patch
blob: ec0df39855b5ee548450ca1ef617415efbc9a71f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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