[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



None of the DRM headers were available when I tried IA64 cross
compilation with some old kernel headers.
---
 configure.sh |    1 +
 ioctls/drm.c |    4 ++++
 2 files changed, 5 insertions(+)

diff --git a/configure.sh b/configure.sh
index 5e54355..98b740d 100755
--- a/configure.sh
+++ b/configure.sh
@@ -175,6 +175,7 @@ file_exists linux/if_alg.h USE_IF_ALG
 file_exists linux/rds.h USE_RDS
 file_exists linux/vfio.h USE_VFIO
 file_exists linux/btrfs.h USE_BTRFS
+file_exists drm/drm.h USE_DRM
 file_exists drm/exynos_drm.h USE_DRM_EXYNOS
 file_exists sound/compress_offload.h USE_SNDDRV_COMPRESS_OFFLOAD
 file_exists linux/vhost.h USE_VHOST
diff --git a/ioctls/drm.c b/ioctls/drm.c
index afb3147..5740021 100644
--- a/ioctls/drm.c
+++ b/ioctls/drm.c
@@ -1,5 +1,7 @@
 #include "config.h"
 
+#ifdef USE_DRM
+
 #include <stdlib.h>
 #include <inttypes.h>
 
@@ -422,3 +424,5 @@ static const struct ioctl_group drm_grp = {
 };
 
 REG_IOCTL_GROUP(drm_grp)
+
+#endif /* USE_DRM */
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux