pkg/ccn-lite: add patch for changed kernel_pid_t location
This commit is contained in:
parent
c1874c8d89
commit
46737bcdf3
@ -0,0 +1,53 @@
|
|||||||
|
From 33251cb1c9cb2a4ef910c5d20dbe12373e3a2264 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kaspar Schleiser <kaspar@schleiser.de>
|
||||||
|
Date: Wed, 25 Nov 2020 13:58:42 +0100
|
||||||
|
Subject: [PATCH] riot: adapt to changed kernel_types.h -> sched.h
|
||||||
|
|
||||||
|
---
|
||||||
|
src/ccnl-core/include/ccnl-if.h | 2 +-
|
||||||
|
src/ccnl-riot/include/ccn-lite-riot.h | 2 +-
|
||||||
|
src/ccnl-riot/src/ccn-lite-riot.c | 2 +-
|
||||||
|
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/ccnl-core/include/ccnl-if.h b/src/ccnl-core/include/ccnl-if.h
|
||||||
|
index cf90dcf9c3..40d461a55e 100644
|
||||||
|
--- a/src/ccnl-core/include/ccnl-if.h
|
||||||
|
+++ b/src/ccnl-core/include/ccnl-if.h
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
#define CCNL_IF_H
|
||||||
|
|
||||||
|
#if defined(CCNL_RIOT)
|
||||||
|
-#include "kernel_types.h"
|
||||||
|
+#include "sched.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "ccnl-sched.h"
|
||||||
|
diff --git a/src/ccnl-riot/include/ccn-lite-riot.h b/src/ccnl-riot/include/ccn-lite-riot.h
|
||||||
|
index 99fa01af79..10682a801a 100644
|
||||||
|
--- a/src/ccnl-riot/include/ccn-lite-riot.h
|
||||||
|
+++ b/src/ccnl-riot/include/ccn-lite-riot.h
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
|
-#include "kernel_types.h"
|
||||||
|
+#include "sched.h"
|
||||||
|
#include "arpa/inet.h"
|
||||||
|
#include "net/packet.h"
|
||||||
|
#include "net/ethernet/hdr.h"
|
||||||
|
diff --git a/src/ccnl-riot/src/ccn-lite-riot.c b/src/ccnl-riot/src/ccn-lite-riot.c
|
||||||
|
index 101273754b..e7b7f14944 100644
|
||||||
|
--- a/src/ccnl-riot/src/ccn-lite-riot.c
|
||||||
|
+++ b/src/ccnl-riot/src/ccn-lite-riot.c
|
||||||
|
@@ -29,7 +29,7 @@
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
|
/* RIOT specific includes */
|
||||||
|
-#include "kernel_types.h"
|
||||||
|
+#include "sched.h"
|
||||||
|
#include "random.h"
|
||||||
|
#include "timex.h"
|
||||||
|
#include "xtimer.h"
|
||||||
|
--
|
||||||
|
2.29.2
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user