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-24 20:58:32 +0200
commitc8ccfedd9bfd53274800d39f58ed335db97caf1a (patch)
tree06a40ffa4f426053a9f2c2bed32d959b94cb3bc2
parent649b9f6a565bc81a120e8971afb0abe025df49a7 (diff)
downloadcryptodev-linux-c8ccfedd9bfd53274800d39f58ed335db97caf1a.tar.gz
cryptodev-linux-c8ccfedd9bfd53274800d39f58ed335db97caf1a.tar.xz
cryptodev-linux-c8ccfedd9bfd53274800d39f58ed335db97caf1a.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>