[Mesa-dev] [PATCH] util/rand_xor: add missing include statements

Nicolas Dechesne nicolas.dechesne at linaro.org
Thu Jun 1 14:15:41 UTC 2017


On Thu, Jun 1, 2017 at 3:27 PM, Eric Engestrom
<eric.engestrom at imgtec.com> wrote:
> On Thursday, 2017-06-01 12:13:18 +0200, Nicolas Dechesne wrote:
>> Fixes for:
>>
>> src/util/rand_xor.c:60:13: error: implicit declaration of function 'open' [-Werror=implicit-function-declaration]
>>     int fd = open("/dev/urandom", O_RDONLY);
>>              ^~~~
>> src/util/rand_xor.c:60:34: error: 'O_RDONLY' undeclared (first use in this function)
>>     int fd = open("/dev/urandom", O_RDONLY);
>>                                   ^~~~~~~~
>>
>> Signed-off-by: Nicolas Dechesne <nicolas.dechesne at linaro.org>
>
> Thanks, r-b and pushed, and welcome to Mesa :)

thanks , starting small ;)

I would like this patch on the 17.1 branch as well. Is that possible?
I actually found the issue on 17.1.1 release.


More information about the mesa-dev mailing list