Commit dace39ab authored by Josh Boyer's avatar Josh Boyer Committed by Luis Henriques

drm/vmwgfx: Fix drm.h include

commit e351943b upstream.

The userspace drm.h include doesn't prefix the drm directory.  This can lead
to compile failures as /usr/include/drm/ isn't in the standard gcc include
paths.  Fix it to be <drm/drm.h>, which matches the rest of the driver drm
header files that get installed into /usr/include/drm.

Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1138759

Fixes: 1d7a5cbfReported-by: default avatarJeffrey Bastian <jbastian@redhat.com>
Signed-off-by: default avatarJosh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 0f55506b
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define __VMWGFX_DRM_H__ #define __VMWGFX_DRM_H__
#ifndef __KERNEL__ #ifndef __KERNEL__
#include <drm.h> #include <drm/drm.h>
#endif #endif
#define DRM_VMW_MAX_SURFACE_FACES 6 #define DRM_VMW_MAX_SURFACE_FACES 6
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment