summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2013-08-29 21:31:52 +0100
committerRob Clark <robclark@freedesktop.org>2013-08-30 11:37:14 -0400
commit126c45828aa3eaf1f404a4fc65a09a93fda76467 (patch)
treedde8b0284e430871fdf20879cebc56abfff28a66
parent4a8da02e524d5d70ec638477e36fcafd2c8152ec (diff)
downloadlibdrm-126c45828aa3eaf1f404a4fc65a09a93fda76467.tar.gz
libdrm-126c45828aa3eaf1f404a4fc65a09a93fda76467.tar.bz2
libdrm-126c45828aa3eaf1f404a4fc65a09a93fda76467.zip
freedreno: use local drm.h over the system one
Otherwise build will fail, as drm/drm.h is not available. Cc: Rob Clark <robclark@freedesktop.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--freedreno/freedreno_priv.h2
-rw-r--r--freedreno/msm/msm_drm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/freedreno/freedreno_priv.h b/freedreno/freedreno_priv.h
index b10ac90b..69256f51 100644
--- a/freedreno/freedreno_priv.h
+++ b/freedreno/freedreno_priv.h
@@ -48,7 +48,7 @@
#include "freedreno_drmif.h"
#include "freedreno_ringbuffer.h"
-#include "drm/drm.h"
+#include "drm.h"
struct fd_device_funcs {
int (*bo_new_handle)(struct fd_device *dev, uint32_t size,
diff --git a/freedreno/msm/msm_drm.h b/freedreno/msm/msm_drm.h
index d3c62074..090c724f 100644
--- a/freedreno/msm/msm_drm.h
+++ b/freedreno/msm/msm_drm.h
@@ -19,7 +19,7 @@
#define __MSM_DRM_H__
#include <stddef.h>
-#include <drm/drm.h>
+#include "drm.h"
/* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints: