Skip to content

Commit dc68bf8

Browse files
committed
fix(mosq): Fix build with the new picolibc
1 parent 072781f commit dc68bf8

File tree

1 file changed

+3
-0
lines changed
  • components/mosquitto/port/priv_include

1 file changed

+3
-0
lines changed

components/mosquitto/port/priv_include/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@
1616

1717
#include <ctype.h>
1818
#include "net/if.h"
19+
#include "esp_idf_version.h"
1920

21+
#if ESP_IDF_VERSION_MAJOR < 6
2022
#undef isspace
2123
#define isspace(__c) (__ctype_lookup((int)__c)&_S)
24+
#endif
2225

2326
#define VERSION "v2.0.20~5"

0 commit comments

Comments
 (0)