From 04c8d442da56914f80f2d2d81d48914b20572c09 Mon Sep 17 00:00:00 2001 From: Gilles DOFFE Date: Tue, 30 Jan 2024 01:32:46 +0100 Subject: [PATCH] drivers/pcf857x: fix missing include kernel_defines.h If not included before, IS_USED macro from modules.h is undefined, leading to such errors: error: missing binary operator before token "(" Signed-off-by: Gilles DOFFE --- drivers/include/pcf857x.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/include/pcf857x.h b/drivers/include/pcf857x.h index d0cd02f6e7..fcd89033ee 100644 --- a/drivers/include/pcf857x.h +++ b/drivers/include/pcf857x.h @@ -249,6 +249,8 @@ extern "C" #include #include +#include "kernel_defines.h" + #include "periph/gpio.h" #include "periph/i2c.h"