Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/uapi/drm Kludgerously de...
details: https://anonhg.NetBSD.org/src/rev/262bcb2e8d10
branches: riastradh-drm2
changeset: 788442:262bcb2e8d10
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:48:58 2013 +0000
description:
Kludgerously define __user to be empty in Linux uapi <drm.h>.
diffstat:
sys/external/bsd/drm2/dist/uapi/drm/drm.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r fcac8dc63a40 -r 262bcb2e8d10 sys/external/bsd/drm2/dist/uapi/drm/drm.h
--- a/sys/external/bsd/drm2/dist/uapi/drm/drm.h Wed Jul 24 03:48:42 2013 +0000
+++ b/sys/external/bsd/drm2/dist/uapi/drm/drm.h Wed Jul 24 03:48:58 2013 +0000
@@ -56,6 +56,12 @@
typedef uint64_t __u64;
typedef unsigned long drm_handle_t;
+# ifdef __NetBSD__ /* XXX totally wrong place for this */
+# ifndef __user
+# define __user
+# endif
+# endif
+
#endif
#define DRM_NAME "drm" /**< Name in kernel, /dev, and /proc */
Home |
Main Index |
Thread Index |
Old Index