Adopted nsapi header in lwip

pull/2231/head
Christopher Haster 2016-07-19 17:37:53 -05:00
parent c412a0cfde
commit f49aa238d2
2 changed files with 4 additions and 3 deletions

View File

@ -14,9 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#include "mbed.h"
#include "EthernetInterface.h" #include "EthernetInterface.h"
#include "NetworkStack.h" #include "mbed.h"
#include "SingletonPtr.h" #include "SingletonPtr.h"
#include "eth_arch.h" #include "eth_arch.h"

View File

@ -17,13 +17,14 @@
#ifndef ETHERNET_INTERFACE_H #ifndef ETHERNET_INTERFACE_H
#define ETHERNET_INTERFACE_H #define ETHERNET_INTERFACE_H
#include "EthInterface.h" #include "nsapi.h"
#include "rtos.h" #include "rtos.h"
#include "lwip/netif.h" #include "lwip/netif.h"
// Forward declaration // Forward declaration
class NetworkStack; class NetworkStack;
/** EthernetInterface class /** EthernetInterface class
* Implementation of the NetworkStack for LWIP * Implementation of the NetworkStack for LWIP
*/ */
@ -60,4 +61,5 @@ protected:
virtual NetworkStack * get_stack(void); virtual NetworkStack * get_stack(void);
}; };
#endif #endif