Re: Fix for building against musl

2015-03-28 Thread Dmitry V. Levin
On Sat, Mar 28, 2015 at 08:11:15PM +0100, Felix Janda wrote: > Sorry for hijacking this thread. I would like to see this fixed in > version 4.11. > > So attached are two patches which are hopefully correct and have > appropriate commit messages and attribution. Applied, thanks. -- ldv pgp0w4

Re: Fix for building against musl

2015-03-28 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is

Fix for building against musl

2015-03-28 Thread Felix Janda
Sorry for hijacking this thread. I would like to see this fixed in version 4.11. So attached are two patches which are hopefully correct and have appropriate commit messages and attribution. Felix >From 5e1ace609a8a176b4db9f0dc24dcdbf76e2e5d33 Mon Sep 17 00:00:00 2001 From: Felix Janda Date: Sat

Re: Fix for building against musl

2015-03-17 Thread Dmitry V. Levin
On Tue, Mar 17, 2015 at 06:49:31PM -0400, Mike Frysinger wrote: > On 17 Mar 2015 15:18, Dmitry V. Levin wrote: > > On Tue, Mar 17, 2015 at 03:36:55AM -0400, Mike Frysinger wrote: > > > On 16 Mar 2015 21:42, Felix Janda wrote: > > > > is for example needed for _IOC_SIZE(). That is > > > > likely al

Re: Fix for building against musl

2015-03-17 Thread Mike Frysinger
On 17 Mar 2015 15:18, Dmitry V. Levin wrote: > On Tue, Mar 17, 2015 at 03:36:55AM -0400, Mike Frysinger wrote: > > On 16 Mar 2015 21:42, Felix Janda wrote: > > > is for example needed for _IOC_SIZE(). That is > > > likely also the reason why ioctl.c includes it. > > evdev.c includes which includ

Re: Fix for building against musl

2015-03-17 Thread Dmitry V. Levin
On Tue, Mar 17, 2015 at 03:36:55AM -0400, Mike Frysinger wrote: > On 16 Mar 2015 21:42, Felix Janda wrote: > > is for example needed for _IOC_SIZE(). That is > > likely also the reason why ioctl.c includes it. evdev.c includes which includes . On glibc, this leads to inclusion of , musl may do t

Re: Fix for building against musl

2015-03-17 Thread Mike Frysinger
On 16 Mar 2015 21:42, Felix Janda wrote: > is for example needed for _IOC_SIZE(). That is > likely also the reason why ioctl.c includes it. we should stick to linux/ioctl.h imo, and update ioctl.c to match -mike signature.asc Description: Digital signature --

Re: Fix for building against musl

2015-03-16 Thread Felix Janda
is for example needed for _IOC_SIZE(). That is likely also the reason why ioctl.c includes it. Felix -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership

Re: Fix for building against musl

2015-03-10 Thread Mike Frysinger
On 10 Mar 2015 19:37, Dima Krasner wrote: > --- strace-4.10-orig/evdev.c 2015-03-10 19:16:03.644273038 +0200 > +++ strace-4.10/evdev.c 2015-03-10 19:28:29.020290753 +0200 > @@ -29,6 +29,7 @@ > #include "defs.h" > > #ifdef HAVE_LINUX_INPUT_H > +#include > #include > #include "xlat/evd

Fix for building against musl

2015-03-10 Thread Dima Krasner
Hello, The latest version does not build against musl due to missing . I attached a patch - can you merge it, please? Thank you, Dima -- Dima Krasner, dimakrasner.com diff -rup strace-4.10-orig/evdev.c strace-4.10/evdev.c --- strace-4.10-orig/evdev.c 2015-03-10 19:16:03.644273038 +0200 +++ str