@ -28,9 +28,8 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE. */
#ifndef ERRNO_H
#define ERRNO_H_ 1
#define ERRNO_H
/**
* @addtogroup cpu_atmega_common
@ -55,6 +54,9 @@
extern "C" {
#endif
* @brief Export errno value
*/
extern int errno;
#ifdef __cplusplus
@ -16,9 +16,13 @@
* @brief Definition of struct timeval for the atmega
*
struct timeval {
time_t tv_sec;
suseconds_t tv_usec;
time_t tv_sec; /**< seconds */
suseconds_t tv_usec; /**< microseconds */
};