aboutsummaryrefslogtreecommitdiff
path: root/patches/0038-sha2-add-missing-include.patch
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-10-16 17:41:25 +0300
committerCem Keylan <cem@ckyln.com>2020-10-16 17:41:25 +0300
commite2abcdca396661cbe0ae2ddb13d5c2b85682c13a (patch)
treeacf9b5c80b645617f882c45224c6e07251711842 /patches/0038-sha2-add-missing-include.patch
downloadotools-e2abcdca396661cbe0ae2ddb13d5c2b85682c13a.tar.gz
initial commit
Diffstat (limited to 'patches/0038-sha2-add-missing-include.patch')
-rw-r--r--patches/0038-sha2-add-missing-include.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/0038-sha2-add-missing-include.patch b/patches/0038-sha2-add-missing-include.patch
new file mode 100644
index 0000000..3bde964
--- /dev/null
+++ b/patches/0038-sha2-add-missing-include.patch
@@ -0,0 +1,11 @@
+--- a/lib/libc/hash/sha2.c 2019-07-23 15:35:22.000000000 +0300
++++ b/lib/libc/hash/sha2.c 2020-10-15 16:36:04.849056534 +0300
+@@ -35,6 +35,8 @@
+ */
+
+ #include <sys/types.h>
++#include <sys/cdefs.h>
++#include <sys/compat.h>
+
+ #include <string.h>
+ #include <sha2.h>