Use <openssl/e_os2.h> rather than <stdint.h>
authorRichard Levitte <levitte@openssl.org>
Wed, 16 Nov 2022 15:20:57 +0000 (16:20 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 17 Nov 2022 10:09:31 +0000 (11:09 +0100)
<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)

fuzz/fuzzer.h

index 4d8b7b9a517961f1efa1f7a42ae5410fa4af7254..76eda2ce5d3f4311e8487dd9a827249b1bd787a1 100644 (file)
@@ -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);