diff --git a/cpu/atmega_common/include/sys/time.h b/cpu/atmega_common/include/sys/time.h
index b40464f73a72555993b9c85ba40345c3d7fc1ad4..08100565f24fe69943ca303e2ccdf8bc5b02b4b7 100644
--- a/cpu/atmega_common/include/sys/time.h
+++ b/cpu/atmega_common/include/sys/time.h
@@ -10,6 +10,7 @@
 #define ATMEGA_TIME_H
 
 #include <sys/types.h>
+#include <time.h>
 
 #ifdef __cplusplus
 extern "C" {