Re: [Intel-gfx] [PATCH i-g-t] Fix compilation on some distros

2017-10-04 Thread Petri Latvala
On Tue, Oct 03, 2017 at 04:38:29PM -0700, Ausmus, James wrote: > On Thu, Sep 28, 2017 at 1:40 AM, Petri Latvala > wrote: > > On Wed, Sep 27, 2017 at 04:08:27PM -0700, James Ausmus wrote: > >> Some distros (such as Gentoo) are removing the include of > >> sys/sysmacros.h

Re: [Intel-gfx] [PATCH i-g-t] Fix compilation on some distros

2017-10-03 Thread Ausmus, James
On Thu, Sep 28, 2017 at 1:40 AM, Petri Latvala wrote: > On Wed, Sep 27, 2017 at 04:08:27PM -0700, James Ausmus wrote: >> Some distros (such as Gentoo) are removing the include of >> sys/sysmacros.h from sys/types.h. Explicitly include sysmacros.h in >> files where we use

Re: [Intel-gfx] [PATCH i-g-t] Fix compilation on some distros

2017-09-28 Thread Petri Latvala
On Wed, Sep 27, 2017 at 04:08:27PM -0700, James Ausmus wrote: > Some distros (such as Gentoo) are removing the include of > sys/sysmacros.h from sys/types.h. Explicitly include sysmacros.h in > files where we use the minor() and major() functions. > > Signed-off-by: James Ausmus

[Intel-gfx] [PATCH i-g-t] Fix compilation on some distros

2017-09-27 Thread James Ausmus
Some distros (such as Gentoo) are removing the include of sys/sysmacros.h from sys/types.h. Explicitly include sysmacros.h in files where we use the minor() and major() functions. Signed-off-by: James Ausmus --- lib/igt_debugfs.c | 1 + lib/igt_sysfs.c | 1 +