diff --git a/firmware/SOURCES b/firmware/SOURCES
index bbed9d2..b4fdde3 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -24,6 +24,8 @@ debug.c
 /* Common */
 #if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__)
 libc/errno.c
+/* ALSA on linux requires a more advanced printf */
+libc/sprintf.c
 #endif /* !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) */
 libc/atoi.c
 libc/ctype.c
@@ -31,7 +33,6 @@ libc/memcmp.c
 libc/memchr.c
 libc/qsort.c
 libc/random.c
-libc/sprintf.c
 libc/strcat.c
 libc/strchr.c
 libc/strcmp.c