about summary refs log tree commit diff
path: root/crypt
diff options
context:
space:
mode:
Diffstat (limited to 'crypt')
-rw-r--r--crypt/sha256-block.c2
-rw-r--r--crypt/sha256-crypt.c1
-rw-r--r--crypt/sha256.c1
-rw-r--r--crypt/sha512-block.c2
-rw-r--r--crypt/sha512-crypt.c1
-rw-r--r--crypt/sha512.c1
6 files changed, 8 insertions, 0 deletions
diff --git a/crypt/sha256-block.c b/crypt/sha256-block.c
index a163e25865..8a77096999 100644
--- a/crypt/sha256-block.c
+++ b/crypt/sha256-block.c
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
 /* Process LEN bytes of BUFFER, accumulating context into CTX.
    It is assumed that LEN % 64 == 0.  */
 void
diff --git a/crypt/sha256-crypt.c b/crypt/sha256-crypt.c
index 334f572b10..c114a534ab 100644
--- a/crypt/sha256-crypt.c
+++ b/crypt/sha256-crypt.c
@@ -22,6 +22,7 @@
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/param.h>
 
 #include "sha256.h"
diff --git a/crypt/sha256.c b/crypt/sha256.c
index 9aa222b7d8..8fb7d47671 100644
--- a/crypt/sha256.c
+++ b/crypt/sha256.c
@@ -26,6 +26,7 @@
 #include <endian.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/types.h>
 
 #include "sha256.h"
diff --git a/crypt/sha512-block.c b/crypt/sha512-block.c
index e7c5cfd7f5..c542db1c9c 100644
--- a/crypt/sha512-block.c
+++ b/crypt/sha512-block.c
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
 /* Process LEN bytes of BUFFER, accumulating context into CTX.
    It is assumed that LEN % 128 == 0.  */
 void
diff --git a/crypt/sha512-crypt.c b/crypt/sha512-crypt.c
index 6541a9dbcd..e09ae4106b 100644
--- a/crypt/sha512-crypt.c
+++ b/crypt/sha512-crypt.c
@@ -22,6 +22,7 @@
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/param.h>
 
 #include "sha512.h"
diff --git a/crypt/sha512.c b/crypt/sha512.c
index db17ff4671..be20bcc822 100644
--- a/crypt/sha512.c
+++ b/crypt/sha512.c
@@ -26,6 +26,7 @@
 #include <endian.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/types.h>
 
 #include "sha512.h"