summaryrefslogtreecommitdiff
path: root/crypt
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-01 10:46:34 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-16 11:32:54 -0500
commite054f494306530720114b321b3d97ca2f397cbbb (patch)
tree08bd9b3309787b98c196961d5c8480bf65c7b2a8 /crypt
parent8c75f67421af1e6680ac465f49672021b6571904 (diff)
downloadglibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.gz
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).
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"