commit | a38cb088619d3e2f2194247038c10897d1c5036e | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Feb 17 12:33:16 2014 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Feb 18 12:04:54 2014 -0800 |
tree | 83cde27cb78ed069749b6beddb2ad5199d068214 | |
parent | d4bc9ef83b36916d5e63c4c3e4a092381473ea52 [diff] [blame] |
Clean up various warnings in bionic. Change-Id: Ic57541d0a567fd4ae79f0ad59b2ffde1130eb7d2
diff --git a/libc/upstream-freebsd/freebsd-compat.h b/libc/upstream-freebsd/freebsd-compat.h index 74dc679..d5f1425 100644 --- a/libc/upstream-freebsd/freebsd-compat.h +++ b/libc/upstream-freebsd/freebsd-compat.h
@@ -47,4 +47,8 @@ /* This one is only needed as long as we have a mix of OpenBSD and FreeBSD stdio. */ #define _sseek __sseek +/* This is in BSD's <stdlib.h>. */ +#include <stdint.h> +extern uint32_t arc4random_uniform(uint32_t upper_bound); + #endif