On 11 March 2015 at 20:50, Ian Romanick <[email protected]> wrote:
> On 03/11/2015 12:12 PM, Emil Velikov wrote:
>> Required by fstat(), otherwise we'll error out due to implicit function
>> declaration.
>
> Alternate suggestion... include unistd.h unconditionally.  I see that's
> already in the #ifdef HAVE_LIBUDEV path.  Does that work too?
>
Perhaps the commit message is a bit confusing, but your suggestion
does not parse here. How does the following sound ?

When building with libudev (non-sysfs) we don't include sys/stat.h
thus we error out due to the implicit declaration of the function
fstat().

-Emil
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to