mesa/src/loader
Nicolai Hähnle de6e6a347d loader: unconditionally include unistd.h and stdlib.h
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 --with-gallium-drivers=swrast
 $ make

Cc: Vinson Lee <vlee@freedesktop.org>
Fixes: 3f462050c ("loader: Add an environment variable to override driver name choice.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99701
v2: [Emil: handle stdlib.h add commit message]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2017-02-10 11:47:12 +00:00
..
Android.mk Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
loader.c loader: unconditionally include unistd.h and stdlib.h 2017-02-10 11:47:12 +00:00
loader.h loader: add loader_get_extensions_name(..) helper 2016-11-15 15:55:33 +00:00
loader_dri3_helper.c loader/dri3: Unify the style of function pointer calls in structs 2017-01-13 16:24:32 +00:00
loader_dri3_helper.h loader/dri3: constify the loader_dri3_vtable 2016-10-14 12:53:35 +01:00
Makefile.am loader: automake: include builddir prior to srcdir 2017-01-27 17:56:56 +00:00
Makefile.sources loader: Add headers to distribution. 2014-12-12 12:11:47 -08:00
pci_id_driver_map.c nouveau: allow NV3x's to be used with nouveau_vieux 2016-08-30 00:21:42 -04:00
pci_id_driver_map.h loader: remove loader_get_driver_for_fd() driver_type 2016-10-18 17:06:29 +01:00
SConscript scons: remove all libudev references 2016-10-18 17:06:21 +01:00