diff --git a/tests/at/main.c b/tests/at/main.c
index 63ed1a9585b107667ae45f35aded84ff5c066ffd..78e7274a7bb1899ff8ac52ed66e02177094feda3 100644
--- a/tests/at/main.c
+++ b/tests/at/main.c
@@ -18,6 +18,8 @@
  * @}
  */
 
+#include <stdio.h>
+
 #include "at.h"
 #include "shell.h"
 #include "timex.h"