diff options
author | Josh Boyer <jwboyer@fedoraproject.org> | 2014-09-05 13:19:59 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-11 23:57:49 -0400 |
commit | e351943b081f4d9e6f692ce1a6117e8d2e71f478 (patch) | |
tree | 9a90e94598743fff5f3724bf0919ab38a78b35da /include/uapi/drm/vmwgfx_drm.h | |
parent | c4d922b14544d115232b7448a2ea7640ba901eb6 (diff) |
drm/vmwgfx: Fix drm.h include
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: 1d7a5cbf8f74e
Reported-by: Jeffrey Bastian <jbastian@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/uapi/drm/vmwgfx_drm.h')
-rw-r--r-- | include/uapi/drm/vmwgfx_drm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h index 4fc66f6b12ce..c472bedbe38e 100644 --- a/include/uapi/drm/vmwgfx_drm.h +++ b/include/uapi/drm/vmwgfx_drm.h | |||
@@ -29,7 +29,7 @@ | |||
29 | #define __VMWGFX_DRM_H__ | 29 | #define __VMWGFX_DRM_H__ |
30 | 30 | ||
31 | #ifndef __KERNEL__ | 31 | #ifndef __KERNEL__ |
32 | #include <drm.h> | 32 | #include <drm/drm.h> |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #define DRM_VMW_MAX_SURFACE_FACES 6 | 35 | #define DRM_VMW_MAX_SURFACE_FACES 6 |