summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc
diff options
context:
space:
mode:
authormiod <>2015-10-30 15:45:57 +0000
committermiod <>2015-10-30 15:45:57 +0000
commit3cbb3da64158d1286f96a7bf85e0f6d45fe7e0d4 (patch)
tree84a9b3b6e525872d6da1bb745e197b557604917e /src/regress/lib/libc
parent5313b8d69c87b6508e8f845718ad3d005077bc1a (diff)
downloadopenbsd-3cbb3da64158d1286f96a7bf85e0f6d45fe7e0d4.tar.gz
openbsd-3cbb3da64158d1286f96a7bf85e0f6d45fe7e0d4.tar.bz2
openbsd-3cbb3da64158d1286f96a7bf85e0f6d45fe7e0d4.zip
Pull in <sys/types.h> to get ssize_t or <stdint.h> to get uint32_t, instead of
relying upon previously included headers to do this, to enhance portability; from Pascal Cuoq, libressl github pull request #52
Diffstat (limited to 'src/regress/lib/libc')
-rw-r--r--src/regress/lib/libc/arc4random-fork/arc4random-fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regress/lib/libc/arc4random-fork/arc4random-fork.c b/src/regress/lib/libc/arc4random-fork/arc4random-fork.c
index c1e87d21c9..4bc9c634f1 100644
--- a/src/regress/lib/libc/arc4random-fork/arc4random-fork.c
+++ b/src/regress/lib/libc/arc4random-fork/arc4random-fork.c
@@ -23,6 +23,7 @@
23#include <stdlib.h> 23#include <stdlib.h>
24#include <string.h> 24#include <string.h>
25#include <unistd.h> 25#include <unistd.h>
26#include <stdint.h>
26 27
27#define CHECK(x) assert(x) 28#define CHECK(x) assert(x)
28#define CHECK_EQ(a, b) assert((a) == (b)) 29#define CHECK_EQ(a, b) assert((a) == (b))