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]

[PATCH] #include <stdint.h> in tst-writev.c


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





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