+
+/*
+ * \name Standard type definitions.
+ *
+ * These should be in <sys/types.h>, but many compilers lack them.
+ *
+ * \{
+ */
+#if !(defined(size_t) || defined(_SIZE_T_DEFINED))
+ #if CPU_REG_BITS > 32
+ /* 64bit. */
+ typedef unsigned long size_t;
+ typedef long ssize_t;
+ #else
+ /* 32bit or 16bit. */
+ typedef unsigned int size_t;
+ typedef int ssize_t;
+ #endif
+#endif
+#if !(defined(_TIME_T_DEFINED) || defined(__time_t_defined))
+ /*
+ * The ATmega8 has a very small Flash, so we can't afford to
+ * link in support routines for 32bit integer arithmetic.
+ */
+ #if CPU_AVR_ATMEGA8
+ typedef int time_t; /* 16bit. */
+ #define SIZEOF_TIME_T SIZEOF_INT
+ #else
+ typedef long time_t; /* 32bit or 64bit. */
+ #define SIZEOF_TIME_T SIZEOF_LONG
+ #endif
+#else
+ /* Just a guess, but quite safe. */
+ #define SIZEOF_TIME_T SIZEOF_LONG
+#endif /* _TIME_T_DEFINED || __time_t_defined */
+/*\}*/
+
+/*! Bulk storage large enough for both pointers or integers. */
+typedef void * iptr_t;
+typedef const void * const_iptr_t;
+
+typedef long utime_t; /*!< Type for time expressed in microseconds. */
+typedef unsigned char sig_t; /*!< Type for signal bits. */
+typedef unsigned char sigset_t; /*!< Type for signal masks. */
+typedef unsigned char page_t; /*!< Type for banked memory pages. */
+