1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/ccn-lite/patches/0001-ccnl-riot-fix-build-on-stm32-cpus.patch

28 lines
681 B
Diff
Raw Normal View History

From 7b4f637281287d0f145fea5f4376189015d86f20 Mon Sep 17 00:00:00 2001
From: Alexandre Abadie <alexandre.abadie@inria.fr>
Date: Thu, 4 Jun 2020 22:28:03 +0200
Subject: [PATCH 1/1] ccnl-riot: fix build on stm32 cpus
---
src/ccnl-riot/include/ccnl-riot-logging.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/ccnl-riot/include/ccnl-riot-logging.h b/src/ccnl-riot/include/ccnl-riot-logging.h
index 373f121a..96a4bb19 100644
--- a/src/ccnl-riot/include/ccnl-riot-logging.h
+++ b/src/ccnl-riot/include/ccnl-riot-logging.h
@@ -24,6 +24,10 @@
#define LOG_LEVEL LOG_DEBUG
#endif
+#if defined(CPU_STM32)
+#include "cpu.h"
+#endif
+
#include "log.h"
/**
--
2.25.1