Skip to content

Commit e8f38ce

Browse files
committed
Avoid forward declaration of class EMAC
This hits the name collision with the Nuvoton header files. Include "EMAC.h" instead to ensure we pick up the #undef workaround.
1 parent 70c4a7d commit e8f38ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

features/netsocket/OnboardNetworkStack.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
#include "nsapi.h"
2121

2222
#include "NetworkStack.h"
23-
24-
class EMAC;
23+
#include "EMAC.h"
2524

2625
/**
2726
* mbed OS API for onboard IP stack abstraction

0 commit comments

Comments
 (0)