The include file <pub_tool_libcproc.h> contains declarations for various
libc-functions. Two of these functions (VG_(getrlimit)() and
VG_(setrlimit)()) accept a pointer to a vki_rlimit structure. Inclusion of
pub_tool_vki.h is now required even when neither VG_(getrlimit)() or
VG_(setrlimit)() is called -- this is inconvenient. The attached patch
solves this. Can this patch please be committed on the trunk ?

Thanks,

Bart Van Assche.
Index: include/pub_tool_libcproc.h
===================================================================
--- include/pub_tool_libcproc.h	(revision 7307)
+++ include/pub_tool_libcproc.h	(working copy)
@@ -32,6 +32,11 @@
 #define __PUB_TOOL_LIBCPROC_H
 
 /* ---------------------------------------------------------------------
+   Forward declarations
+   ------------------------------------------------------------------ */
+struct vki_rlimit;
+
+/* ---------------------------------------------------------------------
    Command-line and environment stuff
    ------------------------------------------------------------------ */
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to