mirror of https://github.com/ARMmbed/mbed-os.git
Netsocket: Add required header file and namespace element instead add all
parent
a47c6b8139
commit
f58e103758
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "EMACInterface.h"
|
#include "EMACInterface.h"
|
||||||
|
using namespace mbed;
|
||||||
|
|
||||||
/* Interface implementation */
|
/* Interface implementation */
|
||||||
EMACInterface::EMACInterface(EMAC &emac, OnboardNetworkStack &stack) :
|
EMACInterface::EMACInterface(EMAC &emac, OnboardNetworkStack &stack) :
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
#define EMAC_INTERFACE_H
|
#define EMAC_INTERFACE_H
|
||||||
|
|
||||||
#include "nsapi.h"
|
#include "nsapi.h"
|
||||||
#include "rtos.h"
|
|
||||||
#include "EMAC.h"
|
#include "EMAC.h"
|
||||||
#include "OnboardNetworkStack.h"
|
#include "OnboardNetworkStack.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
#define ETHERNET_INTERFACE_H
|
#define ETHERNET_INTERFACE_H
|
||||||
|
|
||||||
#include "nsapi.h"
|
#include "nsapi.h"
|
||||||
#include "rtos.h"
|
|
||||||
#include "EMACInterface.h"
|
#include "EMACInterface.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "TCPServer.h"
|
#include "TCPServer.h"
|
||||||
#include "mbed.h"
|
|
||||||
|
using mbed::Callback;
|
||||||
|
|
||||||
TCPServer::TCPServer()
|
TCPServer::TCPServer()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue