Skip to contentSkip to conversation

Build fix for ARM. The UAPI changes split kernel API and userspace API content onto two separate header files and assumed a full linux build. This trips up embedded builds.

PATCH New Edward O'Callaghan 1 participant 1 message Apr 2, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Build fix for ARM. The UAPI changes split kernel API and userspace API content onto two separate header files and assumed a full linux build. This trips up embedded builds.

---
 include/uapi/drm/drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/drm/drm.h +1 -1
index 8d1e2bb..73a99e4 100644
@@ -36,7 +36,7 @@
 #ifndef _DRM_H_
 #define _DRM_H_
 
-#if defined(__linux__)
+#if defined(__KERNEL__) || defined(__linux__)
 
 #include <linux/types.h>
 #include <asm/ioctl.h>
Signature · 1 line
1.8.2