Commit 25f588e2 authored by Marico Xu's avatar Marico Xu

Fix build failure with xserver version 1.17

Due to the missing declarations of fstat and struct stat,
Compiling against xservers in version 1.17 starts failing .
Add the headers listed by man fstat to drmmode_display.c to fix this.

Change-Id: I7c971b7ce7b8afb40f22d5807ec7191ed9fb4569
parent 20c4a887
......@@ -32,6 +32,10 @@
#include "config.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "xf86DDC.h"
#include "xf86RandR12.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment