packages/libs/libdrm/patches/010-64bit.patch
Rosen Penev 5542f91918 libdrm: update to 2.4.114
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-05 17:59:06 -07:00

12 lines
293 B
Diff

--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -37,6 +37,9 @@
#if defined(__linux__)
+#ifndef __SANE_USERSPACE_TYPES__
+#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
+#endif
#include <linux/types.h>
#include <asm/ioctl.h>
typedef unsigned int drm_handle_t;