Skip to content
Snippets Groups Projects
Commit 771cd266 authored by Emil Velikov's avatar Emil Velikov
Browse files

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: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Reported-by: default avatarVadim Rutkovsky <vrutkovs@redhat.com>
Tested-by: default avatarVadim Rutkovsky <vrutkovs@redhat.com>
parent aead7fe2
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@
* Rob Clark <robclark@freedesktop.org>
*/
#include <sys/stat.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
......@@ -80,7 +81,6 @@
#endif
#endif
#ifdef HAVE_SYSFS
#include <sys/stat.h>
#include <sys/types.h>
#endif
#include "loader.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment