Re: [Mesa-dev] [PATCH] loader: unconditionally include unistd.h and stdlib.h

2017-02-10 Thread Eric Engestrom
On Thursday, 2017-02-09 22:10:00 +, Emil Velikov wrote: > From: Nicolai Hähnle > > Otherwise we would fail with "implicit declaration of function" geteuid > and getenv respectively. > > To trigger (re)move the libdrm.pc file and use the following: > > $

Re: [Mesa-dev] [PATCH] loader: unconditionally include unistd.h and stdlib.h

2017-02-10 Thread Nicolai Hähnle
On 09.02.2017 23:10, Emil Velikov wrote: From: Nicolai Hähnle Otherwise we would fail with "implicit declaration of function" geteuid and getenv respectively. To trigger (re)move the libdrm.pc file and use the following: $ ./autogen.sh --disable-egl --disable-gbm

[Mesa-dev] [PATCH] loader: unconditionally include unistd.h and stdlib.h

2017-02-09 Thread Emil Velikov
From: Nicolai Hähnle Otherwise we would fail with "implicit declaration of function" geteuid and getenv respectively. To trigger (re)move the libdrm.pc file and use the following: $ ./autogen.sh --disable-egl --disable-gbm --disable-dri \ --with-dri-drivers=swrast