diff --git a/cpu/msp430-common/lpm_cpu.c b/cpu/msp430-common/lpm_cpu.c index 69309b3e3d..79e3e4e3f3 100644 --- a/cpu/msp430-common/lpm_cpu.c +++ b/cpu/msp430-common/lpm_cpu.c @@ -1,5 +1,7 @@ #include -#include // MSP430-gcc compiler instrinsics +#if (__GNUC__ >= 4) && (__GNUC_MINOR__ > 5) + #include // MSP430-gcc compiler instrinsics +#endif #include "board.h" #include