From fdb1190cfa107d4ed7e00d64d3e21b4b88f115a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Tue, 11 Nov 2014 10:45:36 +0100 Subject: [PATCH] avr: define ssize_t --- cpu/atmega_common/include/sys/types.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 */