Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contrib/ports/freertos/sys_arch.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
*/

/* lwIP includes. */
#include "lwip/opt.h"
#include "lwip/debug.h"
#include "lwip/def.h"
#include "lwip/sys.h"
Expand Down
1 change: 1 addition & 0 deletions contrib/ports/unix/port/netif/fifo.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/* ---------------------------------------------- */
/* --- fifo 4 unix ------------------------------ */
/* ---------------------------------------------- */
#include "lwip/opt.h"
#include "lwip/err.h"
#include "netif/fifo.h"
#include "lwip/debug.h"
Expand Down
1 change: 1 addition & 0 deletions contrib/ports/unix/port/netif/pcapif.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#ifndef linux /* Apparently, this doesn't work under Linux. */

#include "lwip/opt.h"
#include "lwip/debug.h"

#include <fcntl.h>
Expand Down
1 change: 1 addition & 0 deletions contrib/ports/unix/port/netif/sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include "netif/sio.h"
#include "netif/fifo.h"
#include "lwip/opt.h"
#include "lwip/debug.h"
#include "lwip/def.h"
#include "lwip/sys.h"
Expand Down
2 changes: 1 addition & 1 deletion contrib/ports/unix/port/sys_arch.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
*/
#define _GNU_SOURCE /* pull in pthread_setname_np() on Linux */

#include "lwip/opt.h"
#include "lwip/debug.h"

#include <string.h>
Expand All @@ -64,7 +65,6 @@
#endif

#include "lwip/sys.h"
#include "lwip/opt.h"
#include "lwip/stats.h"
#include "lwip/tcpip.h"

Expand Down
5 changes: 4 additions & 1 deletion src/include/lwip/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
#define LWIP_HDR_DEBUG_H

#include "lwip/arch.h"
#include "lwip/opt.h"

#ifndef LWIP_HDR_OPT_H
#error "lwip/opt.h must be included before this header file"
#endif

/**
* @defgroup debugging_levels LWIP_DBG_MIN_LEVEL and LWIP_DBG_TYPES_ON values
Expand Down
Loading