Fix c++ fuzzer build

This commit is contained in:
cpq committed 2020-12-13 16:56:30 +00:00
1 parent 5b265a76bd
commit 09beadb98a
3 files changed
+8 -4

No files matched your search

+3
View File
@@ -1,5 +1,8 @@
#include "mongoose.h"
#ifdef __cplusplus
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *, size_t);
#endif
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
struct mg_dns_message dm;