Merge pull request #9532 from brummer-simon/gnrc_tcp-fix_includes
gnrc_tcp: Add missing includes
This commit is contained in:
commit
3b1e4f54d2
@ -19,7 +19,9 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <utlist.h>
|
||||
#include <string.h>
|
||||
#include "net/af.h"
|
||||
#include "net/gnrc.h"
|
||||
#include "net/gnrc/tcp.h"
|
||||
#include "internal/common.h"
|
||||
#include "internal/fsm.h"
|
||||
@ -151,6 +153,9 @@ static int _gnrc_tcp_open(gnrc_tcp_tcb_t *tcb, char *target_addr, uint16_t targe
|
||||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
#else
|
||||
/* Supress Compiler Warnings */
|
||||
(void) target_addr;
|
||||
#endif
|
||||
/* Set port number to listen on */
|
||||
tcb->local_port = local_port;
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
#include <errno.h>
|
||||
#include "net/af.h"
|
||||
#include "net/tcp.h"
|
||||
#include "net/gnrc.h"
|
||||
#include "internal/common.h"
|
||||
#include "internal/pkt.h"
|
||||
#include "internal/fsm.h"
|
||||
|
||||
@ -17,8 +17,11 @@
|
||||
* @}
|
||||
*/
|
||||
|
||||
#include <utlist.h>
|
||||
#include <errno.h>
|
||||
#include "random.h"
|
||||
#include "net/af.h"
|
||||
#include "net/gnrc.h"
|
||||
#include "internal/common.h"
|
||||
#include "internal/pkt.h"
|
||||
#include "internal/option.h"
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
#include <errno.h>
|
||||
#include "byteorder.h"
|
||||
#include "net/inet_csum.h"
|
||||
#include "net/gnrc/pktbuf.h"
|
||||
#include "net/gnrc.h"
|
||||
#include "internal/common.h"
|
||||
#include "internal/option.h"
|
||||
#include "internal/pkt.h"
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#define FSM_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "net/gnrc/pkt.h"
|
||||
#include "net/gnrc.h"
|
||||
#include "net/gnrc/tcp/tcb.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#define PKT_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "net/gnrc/pkt.h"
|
||||
#include "net/gnrc.h"
|
||||
#include "net/gnrc/tcp/tcb.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user