mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-12 11:40:39 +03:00
lwip: Drop include in coap_io.h
The include is not required, as the `struct ud_pcb *` pointer doesn't require the struct to be known yet, but caused trouble when the include led to an inclusion loop back again to libcoap via the lwippools. (The loop was caught by include guards and caused undeclared type errors because the later parts of the headers were not yet processed).
This commit is contained in:
1 parent
0e7e269ecb
commit
0f3be6128b
2 files changed
+1
-4
No files matched your search
@@ -15,10 +15,6 @@
|
||||
|
||||
#include "address.h"
|
||||
|
||||
#ifdef WITH_LWIP
|
||||
# include <lwip/udp.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Abstract handle that is used to identify a local network interface.
|
||||
*/
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "coap_config.h"
|
||||
#include "mem.h"
|
||||
#include "coap_io.h"
|
||||
#include <lwip/udp.h>
|
||||
|
||||
void coap_packet_populate_endpoint(coap_packet_t *packet, coap_endpoint_t *target)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user