On Thu, Jan 12, 2017 at 09:46:23PM +0800, JingPiao Chen wrote: [...] > +#include "tests.h" > +#include <asm/unistd.h> > + > +#ifdef __NR_ustat > + > +# include <stdio.h> > +# include <sys/stat.h> > +# include <sys/sysmacros.h> > +# include <unistd.h> > +# include <ustat.h> [...] > +#include "defs.h" > +#include DEF_MPERS_TYPE(struct_ustat) > +#include <ustat.h>
The last but not least: <ustat.h> may be missing, some libc implementations don't provide it at all. A configure check and guards in ustat.c and tests/ustat.c are needed. -- ldv
pgpKN53Xi3cau.pgp
Description: PGP signature
------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel