summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2017-09-26 06:43:15 +0000
committerjsg <jsg@openbsd.org>2017-09-26 06:43:15 +0000
commitfaa8649972217df3c62b65218667ca1f8be907ba (patch)
tree63b50b9a3ddaa6e8a6b01033e9a61b2061590c9c
parentdisable POOL_DEBUG for release (diff)
downloadwireguard-openbsd-faa8649972217df3c62b65218667ca1f8be907ba.tar.xz
wireguard-openbsd-faa8649972217df3c62b65218667ca1f8be907ba.zip
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@
-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