diff --git a/soc/runtime/liblwip/netif/liteethif.c b/soc/runtime/liblwip/netif/liteethif.c index d39007d6e..384c189d3 100644 --- a/soc/runtime/liblwip/netif/liteethif.c +++ b/soc/runtime/liblwip/netif/liteethif.c @@ -2,13 +2,16 @@ // LiteETH lwIP port for ARTIQ // License: BSD +#include + +#ifdef CSR_ETHMAC_BASE + #include #include #include #include "netif/liteethif.h" -#include #include #include @@ -132,3 +135,5 @@ err_t liteeth_init(struct netif *netif) return ERR_OK; } + +#endif /* CSR_ETHMAC_BASE */