Sfoglia il codice sorgente

zephyr: update include paths to use <zephyr/...>

Zephyr has prefixed all of its includes with <zephyr/...>. While the old
mode can still be used (CONFIG_LEGACY_INCLUDE_PATH) and is still enabled
by default, it's better to be prepared for its removal in the future.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Gerard Marull-Paretas 3 anni fa
parent
commit
c7a0bc272d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -195,7 +195,7 @@ mg_static_assert(sizeof(void *) >= sizeof(int), "data type size check");
 #include <sys/socket.h>
 #include <time.h>
 
-#include <zephyr.h>
+#include <zephyr/zephyr.h>
 
 /* Max worker threads is the max of pthreads minus the main application thread
  * and minus the main civetweb thread, thus -2