From 2f41095bd0d9a8d1fffc4775aa98275f2c6570b0 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Mon, 19 Dec 2016 09:13:43 -0800 Subject: [PATCH] Minor, added stack check before include --- src/tap.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/tap.hpp b/src/tap.hpp index b8df87e..2393dc1 100644 --- a/src/tap.hpp +++ b/src/tap.hpp @@ -44,12 +44,13 @@ #include "Thread.hpp" #include "Phy.hpp" -#include "netif/etharp.h" - #include "defs.h" #include "rpc.h" -#include "lwip.hpp" -// #include "jip.hpp" + +#if defined(SDK_LWIP) + #include "netif/etharp.h" + #include "lwip.hpp" +#endif #if defined(SDK_PICOTCP) #include "picotcp.hpp"