summaryrefslogtreecommitdiff
path: root/tests/drmtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/drmtest.c')
-rw-r--r--tests/drmtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/drmtest.c b/tests/drmtest.c
index cae99a0c..5453b105 100644
--- a/tests/drmtest.c
+++ b/tests/drmtest.c
@@ -26,6 +26,7 @@
*/
#include <fcntl.h>
+#include <sys/stat.h>
#include "drmtest.h"
/** Open the first DRM device we can find, searching up to 16 device nodes */
@@ -80,4 +81,3 @@ int drm_open_any_master(void)
fprintf(stderr, "Couldn't find an un-controlled DRM device\n");
abort();
}
-