summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-09-26 06:43:16 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-09-26 06:43:16 +0000
commit9a6113c5d3b818e2906f1b21899a38f3a3285e91 (patch)
treec9015de78218793aa22d962d814f9e55102f972b /sys
parent359c33891455ee577605971bb9933cfbf8875f2f (diff)
Use quoted #includes for files kdump's mkioctls indirectly includes so
mkioctls can find the files and not error out as drm headers are not installed to /usr/include. This results in more complete ioctl coverage in kdump (not just for drm). ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/drm.h4
-rw-r--r--sys/dev/pci/drm/drm_mode.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/drm.h b/sys/dev/pci/drm/drm.h
index 3cce27c10ba..74f64f3f0ee 100644
--- a/sys/dev/pci/drm/drm.h
+++ b/sys/dev/pci/drm/drm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: drm.h,v 1.24 2017/07/08 19:36:58 kettenis Exp $ */
+/* $OpenBSD: drm.h,v 1.25 2017/09/26 06:43:15 jsg Exp $ */
/**
* \file drm.h
* Header for the Direct Rendering Manager
@@ -721,7 +721,7 @@ struct drm_pciinfo {
};
#endif
-#include <dev/pci/drm/drm_mode.h>
+#include "drm_mode.h"
#define DRM_IOCTL_BASE 'd'
#define DRM_IO(nr) _IO(DRM_IOCTL_BASE,nr)
diff --git a/sys/dev/pci/drm/drm_mode.h b/sys/dev/pci/drm/drm_mode.h
index 85f91fa1c1c..772a78e0667 100644
--- a/sys/dev/pci/drm/drm_mode.h
+++ b/sys/dev/pci/drm/drm_mode.h
@@ -27,7 +27,7 @@
#ifndef _DRM_MODE_H
#define _DRM_MODE_H
-#include <dev/pci/drm/linux_types.h>
+#include "linux_types.h"
#define DRM_DISPLAY_INFO_LEN 32
#define DRM_CONNECTOR_NAME_LEN 32