Skip to content

Commit 01256d3

Browse files
mdns: Make fuzzer layers compatible with llvm>=6
* Original commit: espressif/esp-idf@1882cbe
1 parent 5a2d4ea commit 01256d3

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

components/mdns/test_afl_fuzz_host/esp32_mock.h

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
/*
2+
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
146
#ifndef _ESP32_COMPAT_H_
157
#define _ESP32_COMPAT_H_
168

@@ -20,6 +12,7 @@
2012
#define _ESP_TASK_H_
2113

2214
#ifdef USE_BSD_STRING
15+
#include <features.h>
2316
#include <bsd/string.h>
2417
#endif
2518
#include <stdint.h>

0 commit comments

Comments
 (0)