summaryrefslogtreecommitdiff
path: root/sysutils/seatd/patches/patch-seatd-0_7_0_common_drm_c
blob: 33aca5a0384f68e4f2d973a90539e8326d7ec227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Index: seatd-0.7.0/common/drm.c
--- seatd-0.7.0/common/drm.c.orig
+++ seatd-0.7.0/common/drm.c
@@ -20,7 +20,7 @@ int drm_drop_master(int fd) {
 	return ioctl(fd, DRM_IOCTL_DROP_MASTER, 0);
 }
 
-#if defined(__linux__) || defined(__NetBSD__)
+#if defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__)
 int path_is_drm(const char *path) {
 	static const char prefix[] = "/dev/dri/";
 	static const int prefixlen = STRLEN(prefix);