Skip to content

Commit c700ead

Browse files
committed
sys/suit: include nanocoap.h only when used
1 parent e22e357 commit c700ead

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sys/include/suit/transport/worker.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
#ifndef SUIT_TRANSPORT_WORKER_H
2626
#define SUIT_TRANSPORT_WORKER_H
2727

28-
#include "net/nanocoap.h"
28+
#if MODULE_NANOCOAP
29+
# include "net/nanocoap.h"
30+
#endif
2931

3032
#ifdef __cplusplus
3133
extern "C" {

0 commit comments

Comments
 (0)