summaryrefslogtreecommitdiff
path: root/extmod/modnetwork.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/modnetwork.c')
-rw-r--r--extmod/modnetwork.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/extmod/modnetwork.c b/extmod/modnetwork.c
index b698ee4cf..0ff8683b7 100644
--- a/extmod/modnetwork.c
+++ b/extmod/modnetwork.c
@@ -31,11 +31,12 @@
#include "py/objlist.h"
#include "py/runtime.h"
#include "py/mphal.h"
-#include "shared/netutils/netutils.h"
-#include "modnetwork.h"
#if MICROPY_PY_NETWORK
+#include "shared/netutils/netutils.h"
+#include "modnetwork.h"
+
#if MICROPY_PY_LWIP
#include "lwip/netif.h"
#include "lwip/timeouts.h"