mirror of https://github.com/ARMmbed/mbed-os.git
lwip-interface: fix issue #2993
DEVICE_ are passed as command line -D, thus no inclusion is required. ``platform.h`` is C++ header file, should not be pulled in C filespull/2994/head
parent
f5fb485dcd
commit
f8b682c943
|
@ -14,8 +14,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "platform.h"
|
|
||||||
|
|
||||||
#if DEVICE_EMAC
|
#if DEVICE_EMAC
|
||||||
|
|
||||||
#include "emac_api.h"
|
#include "emac_api.h"
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "platform.h"
|
|
||||||
|
|
||||||
#if DEVICE_EMAC
|
#if DEVICE_EMAC
|
||||||
|
|
||||||
#include "emac_stack_mem.h"
|
#include "emac_stack_mem.h"
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
#ifndef MBED_EMAC_STACK_MEM_H
|
#ifndef MBED_EMAC_STACK_MEM_H
|
||||||
#define MBED_EMAC_STACK_MEM_H
|
#define MBED_EMAC_STACK_MEM_H
|
||||||
|
|
||||||
#include "platform.h"
|
|
||||||
|
|
||||||
#if DEVICE_EMAC
|
#if DEVICE_EMAC
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -17,9 +17,6 @@
|
||||||
#ifndef MBED_EMAC_API_H
|
#ifndef MBED_EMAC_API_H
|
||||||
#define MBED_EMAC_API_H
|
#define MBED_EMAC_API_H
|
||||||
|
|
||||||
#include "platform.h"
|
|
||||||
|
|
||||||
|
|
||||||
#if DEVICE_EMAC
|
#if DEVICE_EMAC
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
Loading…
Reference in New Issue