diff --git a/cpu/atmega_common/include/sys/types.h b/cpu/atmega_common/include/sys/types.h index 75a30bcd15d44077d18a0aceff3e44baa2ffff00..74bf6c6ccf17231295840c2aae656855993f1c9f 100644 --- a/cpu/atmega_common/include/sys/types.h +++ b/cpu/atmega_common/include/sys/types.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen + * 2015 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -18,6 +19,7 @@ extern "C" { typedef int16_t suseconds_t; typedef signed int ssize_t; +typedef unsigned int off_t; #ifdef __cplusplus }