diff options
author | miod <> | 2015-10-30 15:45:57 +0000 |
---|---|---|
committer | miod <> | 2015-10-30 15:45:57 +0000 |
commit | 857a26cd73249023ce1882995ef8e654cd48f0e9 (patch) | |
tree | 84a9b3b6e525872d6da1bb745e197b557604917e /src/regress/lib/libc/arc4random-fork/arc4random-fork.c | |
parent | 7ae41bf6bae5fce9138ee2a54bc12996051b19fd (diff) | |
download | openbsd-857a26cd73249023ce1882995ef8e654cd48f0e9.tar.gz openbsd-857a26cd73249023ce1882995ef8e654cd48f0e9.tar.bz2 openbsd-857a26cd73249023ce1882995ef8e654cd48f0e9.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/arc4random-fork/arc4random-fork.c')
-rw-r--r-- | src/regress/lib/libc/arc4random-fork/arc4random-fork.c | 1 |
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)) |