aboutsummaryrefslogtreecommitdiffstats
path: root/os/various
diff options
context:
space:
mode:
Diffstat (limited to 'os/various')
-rw-r--r--os/various/lwip_bindings/lwipthread.c4
-rw-r--r--os/various/lwip_bindings/lwipthread.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/os/various/lwip_bindings/lwipthread.c b/os/various/lwip_bindings/lwipthread.c
index 7fc258b23..38ef8cfd2 100644
--- a/os/various/lwip_bindings/lwipthread.c
+++ b/os/various/lwip_bindings/lwipthread.c
@@ -59,6 +59,8 @@
#include "hal.h"
#include "evtimer.h"
+#include "lwipthread.h"
+
#include "lwip/opt.h"
#include "lwip/def.h"
@@ -71,8 +73,6 @@
#include "netif/etharp.h"
#include "netif/ppp_oe.h"
-#include "lwipthread.h"
-
#define PERIODIC_TIMER_ID 1
#define FRAME_RECEIVED_ID 2
diff --git a/os/various/lwip_bindings/lwipthread.h b/os/various/lwip_bindings/lwipthread.h
index a4392f8d2..fe4de2870 100644
--- a/os/various/lwip_bindings/lwipthread.h
+++ b/os/various/lwip_bindings/lwipthread.h
@@ -24,6 +24,8 @@
#ifndef _LWIPTHREAD_H_
#define _LWIPTHREAD_H_
+#include <lwip/opt.h>
+
/** @brief MAC thread priority.*/
#ifndef LWIP_THREAD_PRIORITY
#define LWIP_THREAD_PRIORITY LOWPRIO