summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2022-11-16 16:20:57 +0100
committerRichard Levitte <levitte@openssl.org>2022-11-17 11:09:31 +0100
commit7bc5ce4a79c61ab7238b188f9af48f41ff1392f9 (patch)
tree307b79a97b912ed3bdd189c2b60263b300535b2a /fuzz
parent7489ada9f3fd902c5bc3c58cc03a90de2800d0ab (diff)
downloadopenssl-new-7bc5ce4a79c61ab7238b188f9af48f41ff1392f9.tar.gz
Use <openssl/e_os2.h> rather than <stdint.h>
<stdint.h> is C99, which means that on older compiler, it can't be included. We have code in <openssl/e_os2.h> that compensates. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19697)
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/fuzzer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/fuzzer.h b/fuzz/fuzzer.h
index 4d8b7b9a51..76eda2ce5d 100644
--- a/fuzz/fuzzer.h
+++ b/fuzz/fuzzer.h
@@ -8,8 +8,8 @@
* or in the file LICENSE in the source distribution.
*/
-#include <stdint.h> /* for uint8_t */
-#include <stddef.h> /* for size_t */
+#include <stddef.h> /* for size_t */
+#include <openssl/e_os2.h> /* for uint8_t */
int FuzzerTestOneInput(const uint8_t *buf, size_t len);
int FuzzerInitialize(int *argc, char ***argv);