From f49aa238d2822ad136cb724f01d489d185797e54 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Tue, 19 Jul 2016 17:37:53 -0500 Subject: [PATCH] Adopted nsapi header in lwip --- EthernetInterface.cpp | 3 +-- EthernetInterface.h | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/EthernetInterface.cpp b/EthernetInterface.cpp index 896a7e22c0..d6b8e67459 100644 --- a/EthernetInterface.cpp +++ b/EthernetInterface.cpp @@ -14,9 +14,8 @@ * limitations under the License. */ -#include "mbed.h" #include "EthernetInterface.h" -#include "NetworkStack.h" +#include "mbed.h" #include "SingletonPtr.h" #include "eth_arch.h" diff --git a/EthernetInterface.h b/EthernetInterface.h index 0c59e3422a..3972e89d1a 100644 --- a/EthernetInterface.h +++ b/EthernetInterface.h @@ -17,13 +17,14 @@ #ifndef ETHERNET_INTERFACE_H #define ETHERNET_INTERFACE_H -#include "EthInterface.h" +#include "nsapi.h" #include "rtos.h" #include "lwip/netif.h" // Forward declaration class NetworkStack; + /** EthernetInterface class * Implementation of the NetworkStack for LWIP */ @@ -60,4 +61,5 @@ protected: virtual NetworkStack * get_stack(void); }; + #endif