xf86drm: warn on missing drmGetMinorNameForFD implementation

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
main
Emil Velikov 2015-09-07 18:29:05 +01:00
parent 291b2bb92c
commit 8415a00a3f
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}