summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-08 02:16:07 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-23 20:01:59 +0200
commitaac00a3bf423f77344f62d129ef0050fea711756 (patch)
tree1000d173d640f9c8299f0b9a72013968ea59c4c8
parent68e12500e358cf12aefdf114ee80809af5f86e2f (diff)
downloadcryptodev-linux-aac00a3bf423f77344f62d129ef0050fea711756.tar.gz
cryptodev-linux-aac00a3bf423f77344f62d129ef0050fea711756.tar.xz
cryptodev-linux-aac00a3bf423f77344f62d129ef0050fea711756.zip
Don't assume <ncr.h> includes <stdint.h>
-rw-r--r--examples/ncr_lib.c1
-rw-r--r--examples/pk_lib.c1
-rw-r--r--userspace/ncrypto_generate_params.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/examples/ncr_lib.c b/examples/ncr_lib.c
index b83be3b..29a7fbe 100644
--- a/examples/ncr_lib.c
+++ b/examples/ncr_lib.c
@@ -4,6 +4,7 @@
* Placed under public domain.
*
*/
+#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
diff --git a/examples/pk_lib.c b/examples/pk_lib.c
index f30a488..b184b78 100644
--- a/examples/pk_lib.c
+++ b/examples/pk_lib.c
@@ -4,6 +4,7 @@
* Placed under public domain.
*
*/
+#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
diff --git a/userspace/ncrypto_generate_params.c b/userspace/ncrypto_generate_params.c
index 9dd901d..1034a9c 100644
--- a/userspace/ncrypto_generate_params.c
+++ b/userspace/ncrypto_generate_params.c
@@ -1,4 +1,5 @@
#include <limits.h>
+#include <stdint.h>
#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>