uterm: video: include xf86drm.h for drmAvailable()
authorDavid Herrmann <dh.herrmann@googlemail.com>
Fri, 11 Jan 2013 14:59:33 +0000 (15:59 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Fri, 11 Jan 2013 14:59:33 +0000 (15:59 +0100)
We need this include so drmAvailable() is declared correctly.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_video_internal.h

index e61f107..eb7018e 100644 (file)
@@ -390,6 +390,8 @@ static inline int video_do_use(struct uterm_video *video)
 
 #if defined(BUILD_ENABLE_VIDEO_DRM) || defined(BUILD_ENABLE_VIDEO_DUMB)
 
+#include <xf86drm.h>
+
 static inline bool video_drm_available(void)
 {
        return drmAvailable();