Index: uspace/lib/c/test/stdio/scanf.c
===================================================================
--- uspace/lib/c/test/stdio/scanf.c	(revision 1c9bf2921b28e891268eafe623bde93bee097636)
+++ uspace/lib/c/test/stdio/scanf.c	(revision 3e828ea40985ce126affd5d7faa6ba679802b4db)
@@ -43,4 +43,6 @@
 
 #pragma GCC diagnostic ignored "-Wformat-zero-length"
+#pragma GCC diagnostic ignored "-Wformat"
+#pragma GCC diagnostic ignored "-Wformat-extra-args"
 
 PCUT_INIT;
Index: uspace/lib/c/test/string.c
===================================================================
--- uspace/lib/c/test/string.c	(revision 1c9bf2921b28e891268eafe623bde93bee097636)
+++ uspace/lib/c/test/string.c	(revision 3e828ea40985ce126affd5d7faa6ba679802b4db)
@@ -28,7 +28,6 @@
 
 /* Prevent an error from being generated */
-#undef _HELENOS_SOURCE
+#define _REALLY_WANT_STRING_H
 #include <string.h>
-#define _HELENOS_SOURCE
 #include <pcut/pcut.h>
 
