summaryrefslogtreecommitdiff
path: root/sys/dev/rd.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-12-30 23:08:30 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-12-30 23:08:30 +0000
commit194bb45f9b6c6ddce46f6c764ce9e52f9a70c7c6 (patch)
tree3a55d8d395672966522939a9e3d72616a6525afc /sys/dev/rd.c
parent0b1bf6081fad3d2e922fc79beeb4f1e0fe81cbfe (diff)
Don't pull in <sys/file.h> just to get fcntl.h
ok deraadt@ krw@
Diffstat (limited to 'sys/dev/rd.c')
-rw-r--r--sys/dev/rd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rd.c b/sys/dev/rd.c
index 8ddd5ff0264..7ca19cbbebc 100644
--- a/sys/dev/rd.c
+++ b/sys/dev/rd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rd.c,v 1.12 2015/09/11 20:43:23 dlg Exp $ */
+/* $OpenBSD: rd.c,v 1.13 2017/12/30 23:08:29 guenther Exp $ */
/*
* Copyright (c) 2011 Matthew Dempsky <matthew@dempsky.org>
@@ -27,7 +27,7 @@
#include <sys/device.h>
#include <sys/disk.h>
#include <sys/stat.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/conf.h>
#include <sys/dkio.h>