[COMMITTED] stdio-common: Include <libc-internal.h> in some tests

Message ID 548F1C15.4010305@linux.vnet.ibm.com
State Committed
Delegated to: Adhemerval Zanella Netto

Commit Message

Adhemerval Zanella Netto Dec. 15, 2014, 5:36 p.m. UTC
  This patch adds the missing libc-internal.h include on test-vprintf.c

It fixes the tests build failing I was seeing on powerpc64 and powerpc32.


	* stdio-common/test-vfprintf.c: Include <libc-internal.h>.
	* stdio-common/tst-sprintf.c: Likewise.



diff --git a/stdio-common/test-vfprintf.c b/stdio-common/test-vfprintf.c
index 8483d8d..66e7d5c 100644
--- a/stdio-common/test-vfprintf.c
+++ b/stdio-common/test-vfprintf.c
@@ -25,6 +25,7 @@ 
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
+#include <libc-internal.h>
 const char *locs[] =
diff --git a/stdio-common/tst-sprintf.c b/stdio-common/tst-sprintf.c
index ea3008b..d5284b9 100644
--- a/stdio-common/tst-sprintf.c
+++ b/stdio-common/tst-sprintf.c
@@ -2,6 +2,7 @@ 
 #include <stdlib.h>
 #include <locale.h>
 #include <string.h>
+#include <libc-internal.h>
 static int