diff --git a/cpu/atmega_common/include/sys/types.h b/cpu/atmega_common/include/sys/types.h index 34f727d489..42b4c964f6 100644 --- a/cpu/atmega_common/include/sys/types.h +++ b/cpu/atmega_common/include/sys/types.h @@ -9,4 +9,10 @@ #include #include +#ifndef AVR_TYPES_H +#define AVR_TYPES_H + typedef int16_t suseconds_t; +typedef signed int ssize_t; + +#endif /* ifndef AVR_TYPES_H */