Skip to content

Commit b30481d

Browse files
authored
Merge pull request #4523 from hasnainvirk/eth_flag_lwip
Check Ethernet before including lwipopts_conf.h
2 parents c08864b + d29e058 commit b30481d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/FEATURE_LWIP/lwip-interface/lwipopts.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
#ifndef LWIPOPTS_H
2020
#define LWIPOPTS_H
2121

22+
#if MBED_CONF_LWIP_ETHERNET_ENABLED
2223
#include "lwipopts_conf.h"
24+
#endif
2325

2426
// Workaround for Linux timeval
2527
#if defined (TOOLCHAIN_GCC)

0 commit comments

Comments
 (0)