summaryrefslogtreecommitdiffstats
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:10:55 +0100
commit7fe68ca8382f60c5bf58dfaab4cb06da902763d9 (patch)
tree8f2f813ee30cb5bebbc85735126ba222b23aee12 /fuzz
parentc097598ca49f5ffca974052b9268f449f52f8dc4 (diff)
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) (cherry picked from commit 7bc5ce4a79c61ab7238b188f9af48f41ff1392f9)
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);