[PATCH] #include <stdint.h> in tst-writev.c
Ryan Arnold
rsa@us.ibm.com
Fri Feb 18 02:38:00 GMT 2011
The recently committed patch: INTERNAL_[V]SYSCALL_NCS patch (commit
d55fd7a5573ea7c7c14af95bc37618469cde8a5f) compiles just fine at head and
in the 2.13 branch. When backported to 2.12 it complains about a
missing definition for INT32_MAX so I figured I should add the
appropriate include to be thorough.
Ryan S. Arnold
IBM Linux Technology Center
2011-02-17 Ryan S. Arnold <rsa@us.ibm.com>
* sysdeps/wordsize-64/tst-writev.c: Add missing <stdint.h> include.
diff --git a/sysdeps/wordsize-64/tst-writev.c b/sysdeps/wordsize-64/tst-writev.c
index 6e47886..d2b8cf4 100644
--- a/sysdeps/wordsize-64/tst-writev.c
+++ b/sysdeps/wordsize-64/tst-writev.c
@@ -23,7 +23,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <sys/uio.h>
-
+#include <stdint.h>
/* The purpose of this test is to verify that the INTERNAL_[V]SYSCALL_NCS
macros on 64-bit platforms don't cast the return type to (int) which would
More information about the Libc-alpha
mailing list