aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/io.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2020-07-05 19:38:36 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2020-07-05 19:38:36 +0000
commit588fbadffb3e2b154c704774280f5b23df20680d (patch)
tree720b85de130b3376d8d392150e8550d550691dcb /sys/compat/linuxkpi/common/include/linux/io.h
parentc2caa3425b1c9ce5415fb4eeaa9da44af1851f7d (diff)
downloadsrc-588fbadffb3e2b154c704774280f5b23df20680d.tar.gz
src-588fbadffb3e2b154c704774280f5b23df20680d.zip
Fix include file order in io.h in the LinuxKPI.
Make sure sys/types.h is included before machine/vm.h. PR: 247775 Submitted by: pkubaj@ MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=362946
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/io.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/io.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/io.h b/sys/compat/linuxkpi/common/include/linux/io.h
index 5cffe9b080e3..754bc4303ded 100644
--- a/sys/compat/linuxkpi/common/include/linux/io.h
+++ b/sys/compat/linuxkpi/common/include/linux/io.h
@@ -31,10 +31,11 @@
#ifndef _LINUX_IO_H_
#define _LINUX_IO_H_
-#include <machine/vm.h>
#include <sys/endian.h>
#include <sys/types.h>
+#include <machine/vm.h>
+
#include <linux/compiler.h>
#include <linux/types.h>