]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fuzzing: Add a missing cstdint header to the fuzzing targets
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 1 Aug 2023 11:51:20 +0000 (13:51 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 1 Aug 2023 11:51:20 +0000 (13:51 +0200)
pdns/fuzz_yahttp.cc
pdns/standalone_fuzz_target_runner.cc

index f0096f49964d921a381cde25357d8ed5898dde1f..88ce42b70895cb474a6e84ecca78313c4541888a 100644 (file)
@@ -19,7 +19,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-
+#include <cstdint>
 #include <yahttp/yahttp.hpp>
 
 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size);
index 40a9a4b9b9c26edb0e991d0b7de34565522055a9..0ca91064b6584d6c47c78797eee6319aab8d70d2 100644 (file)
@@ -1,4 +1,4 @@
-
+#include <cstdint>
 #include <fstream>
 #include <iostream>
 #include <stdexcept>