Skip to content

Commit 05b3476

Browse files
Merge branch 'bugfix/mock_tests_include_idf_additions' into 'master'
Fix: Mock test should include idf_additions.h See merge request espressif/esp-mqtt!191
2 parents 4b28192 + f35aaa1 commit 05b3476

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

host_test/main/test_mqtt_client.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ extern "C" {
2424
#include "Mockhttp_parser.h"
2525
#include "Mockqueue.h"
2626
#include "Mocktask.h"
27+
#if __has_include ("Mockidf_additions.h")
28+
/* Some functions were moved from "task.h" to "idf_additions.h" */
29+
#include "Mockidf_additions.h"
30+
#endif
2731
#include "Mockesp_timer.h"
2832

2933
/*

0 commit comments

Comments
 (0)