loader: include <sys/stat.h> for non-sysfs builds
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 11 Mar 2015 19:12:35 +0000 (19:12 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 16 Mar 2015 20:48:07 +0000 (20:48 +0000)
commit771cd266b9d00bdcf2cf7acaa3c8363c358d7478
tree080af65f7714f3c1d591dd21c7c7660e696fbe05
parentaead7fe2e2b6c89258f80a25299f4ec0fece2d95
loader: include <sys/stat.h> for non-sysfs builds

Required by fstat(), otherwise we'll error out due to implicit function
declaration.

Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89530
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reported-by: Vadim Rutkovsky <vrutkovs@redhat.com>
Tested-by: Vadim Rutkovsky <vrutkovs@redhat.com>
src/loader/loader.c