aboutsummaryrefslogtreecommitdiff
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.zip
glibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.gz
glibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.bz2
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 a163e25..8a77096 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 334f572..c114a53 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 9aa222b..8fb7d47 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 e7c5cfd..c542db1 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 6541a9d..e09ae41 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 db17ff4..be20bcc 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"