diff --git a/mongoose.h b/mongoose.h index 7e940d5f..b6e9edd0 100644 --- a/mongoose.h +++ b/mongoose.h @@ -4987,6 +4987,7 @@ extern struct mg_tcpip_spi mg_spi; + #if MG_ENABLE_BSD_SOCKETS void mg_bsd_init(struct mg_mgr *); void mg_bsd_poll(struct mg_mgr *); diff --git a/src/bsd.h b/src/bsd.h index 931ba94f..c06dbd94 100644 --- a/src/bsd.h +++ b/src/bsd.h @@ -1,5 +1,6 @@ #pragma once +#include "arch.h" #include "config.h" #include "net_builtin.h"