diff -urN alsa-utils-1.0.16/speaker-test/speaker-test.c
--- alsa-utils-1.0.16/speaker-test/speaker-test.c.unpatched	2008-05-22 10:30:22.000000000 +0200
+++ alsa-utils-1.0.16/speaker-test/speaker-test.c	2008-05-22 10:32:27.000000000 +0200
@@ -760,6 +760,9 @@
   };
 
 #ifdef ENABLE_NLS
+  /* when compiling in O0, strangely the include <locale.h> done at the beginning of this file in not taken into account
+     solution is to redo the include just here */
+  #include <locale.h>
   setlocale(LC_ALL, "");
   textdomain(PACKAGE);
 #endif
