diff options
author | 2019-04-23 11:38:55 +0000 | |
---|---|---|
committer | 2019-04-23 11:38:55 +0000 | |
commit | 084bbc491238762fcb64216cb59396fc9546a96c (patch) | |
tree | a146ccea739e992ab4bac5c746043797a5f308d8 /sys/dev/pci/drm/drm_linux.c | |
parent | For raw IPv6 sockets userland may specify an offset where the (diff) | |
download | wireguard-openbsd-084bbc491238762fcb64216cb59396fc9546a96c.tar.xz wireguard-openbsd-084bbc491238762fcb64216cb59396fc9546a96c.zip |
Linux code expects to find struct file in fs.h so include sys/file.h
there. As sys/file.h does not have an include guard don't include it in
drm_linux.c which indirectly includes fs.h via drmP.h.
Diffstat (limited to 'sys/dev/pci/drm/drm_linux.c')
-rw-r--r-- | sys/dev/pci/drm/drm_linux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_linux.c b/sys/dev/pci/drm/drm_linux.c index 67601801ea9..f64e3dd4a64 100644 --- a/sys/dev/pci/drm/drm_linux.c +++ b/sys/dev/pci/drm/drm_linux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_linux.c,v 1.33 2019/04/14 10:14:51 jsg Exp $ */ +/* $OpenBSD: drm_linux.c,v 1.34 2019/04/23 11:38:55 jsg Exp $ */ /* * Copyright (c) 2013 Jonathan Gray <jsg@openbsd.org> * Copyright (c) 2015, 2016 Mark Kettenis <kettenis@openbsd.org> @@ -19,7 +19,6 @@ #include <drm/drmP.h> #include <dev/pci/ppbreg.h> #include <sys/event.h> -#include <sys/file.h> #include <sys/filedesc.h> #include <sys/stat.h> #include <sys/unistd.h> |