emac interface - typedef should be available for non-emac targets

As it's required by lwip_bringup function
pull/3975/head
Martin Kojtal 2016-09-30 19:00:04 +01:00
parent 63f0ff1b49
commit 56a223e3f4
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#include "platform.h"
#if DEVICE_EMAC
#include <stdbool.h>
@ -154,5 +155,9 @@ typedef struct emac_interface {
void *hw;
} emac_interface_t;
#else
typedef void *emac_interface_t;
#endif /* DEVICE_EMAC */
#endif /* MBED_EMAC_API_H */