Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/include/uapi/drm Make sure we don...
details: https://anonhg.NetBSD.org/src/rev/7d5fc8635a9c
branches: trunk
changeset: 1028115:7d5fc8635a9c
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 01:54:43 2021 +0000
description:
Make sure we don't end up on the wrong side of this ifdef.
We have our own block in this file and don't want two differing
declarations of drm_handle_t.
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/include/uapi/drm/drm.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 07e304dc1fa2 -r 7d5fc8635a9c sys/external/bsd/drm2/dist/include/uapi/drm/drm.h
--- a/sys/external/bsd/drm2/dist/include/uapi/drm/drm.h Sun Dec 19 01:54:35 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/uapi/drm/drm.h Sun Dec 19 01:54:43 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm.h,v 1.5 2021/12/19 01:53:57 riastradh Exp $ */
+/* $NetBSD: drm.h,v 1.6 2021/12/19 01:54:43 riastradh Exp $ */
/**
* \file drm.h
@@ -38,7 +38,7 @@
#ifndef _DRM_H_
#define _DRM_H_
-#if defined(__KERNEL__)
+#if defined(__linux__) && defined(__KERNEL__)
#include <linux/types.h>
#include <asm/ioctl.h>
Home |
Main Index |
Thread Index |
Old Index