This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


This patch adds the missing libc-internal.h include on test-vprintf.c
tst-sprintf.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]