summaryrefslogtreecommitdiff
path: root/xf86drm.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-09-07 18:29:05 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-09-21 17:43:03 +0100
commit8415a00a3f2f5cb4827b58b86e974900d3892d29 (patch)
tree203e96b97c1ac643d5d46dbfef8a612d49d01791 /xf86drm.c
parent291b2bb92c5fc90101417b80bbdc6c994be5fff2 (diff)
downloadlibdrm-8415a00a3f2f5cb4827b58b86e974900d3892d29.tar.gz
libdrm-8415a00a3f2f5cb4827b58b86e974900d3892d29.tar.bz2
libdrm-8415a00a3f2f5cb4827b58b86e974900d3892d29.zip
xf86drm: warn on missing drmGetMinorNameForFD implementation
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 3d03cbff..a783a28e 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -2822,6 +2822,8 @@ static char *drmGetMinorNameForFD(int fd, int type)
out_close_dir:
closedir(sysdir);
+#else
+#warning "Missing implementation of drmGetMinorNameForFD"
#endif
return NULL;
}