[PATCH libdrm 09/12] xf86drm: warn on missing drmGetMinorNameForFD implementation

Emil Velikov emil.l.velikov at gmail.com
Wed Sep 9 10:21:30 PDT 2015


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 xf86drm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xf86drm.c b/xf86drm.c
index 3d03cbf..a783a28 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;
 }
-- 
2.5.0



More information about the dri-devel mailing list