From 3e69aec95ec07ba318d248e21e72d1becb5bad95 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Mon, 9 Mar 2020 17:15:51 +0100 Subject: [PATCH] Add an include to ease Sloeber plugin usage https://github.com/Sloeber/arduino-eclipse-plugin/issues/1143 Thanks @jantje Signed-off-by: Frederic Pillon --- cores/arduino/Arduino.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h index 77454cecf5..c87061df9d 100644 --- a/cores/arduino/Arduino.h +++ b/cores/arduino/Arduino.h @@ -29,6 +29,10 @@ #error "GCC version 6.3 or higher is required" #endif +#ifdef __IN_ECLIPSE__ +#include "SrcWrapper.h" +#endif + #include "wiring.h" /* sketch */