mdns: Make fuzzer layers compatible with llvm>=6

* Original commit: espressif/esp-idf@1882cbe44e
This commit is contained in:
David Cermak
2022-01-04 13:50:02 +01:00
committed by suren-gabrielyan-espressif
parent 5a2d4eab6d
commit 01256d3e34

View File

@ -1,16 +1,8 @@
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD /*
// * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
// Licensed under the Apache License, Version 2.0 (the "License"); *
// you may not use this file except in compliance with the License. * SPDX-License-Identifier: Apache-2.0
// You may obtain a copy of the License at */
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef _ESP32_COMPAT_H_ #ifndef _ESP32_COMPAT_H_
#define _ESP32_COMPAT_H_ #define _ESP32_COMPAT_H_
@ -20,6 +12,7 @@
#define _ESP_TASK_H_ #define _ESP_TASK_H_
#ifdef USE_BSD_STRING #ifdef USE_BSD_STRING
#include <features.h>
#include <bsd/string.h> #include <bsd/string.h>
#endif #endif
#include <stdint.h> #include <stdint.h>