aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2009-03-15 19:16:12 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2009-03-15 19:16:12 +0000
commit3b8cbbded3775e2248aae43c3f236e6dbaa11095 (patch)
treee051e5a7f40c3331f15b3755f6f68a78ebfea7ee /sys/compat/linux
parent1df143759b936f014c31ae5a0f6f8220dbc29740 (diff)
downloadsrc-3b8cbbded3775e2248aae43c3f236e6dbaa11095.tar.gz
src-3b8cbbded3775e2248aae43c3f236e6dbaa11095.zip
Include linux_futex.h before linux_emul.h
Approved by: kib (mentor) MFC after: 6 days
Notes
Notes: svn path=/head/; revision=189861
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_emul.h2
-rw-r--r--sys/compat/linux/linux_futex.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_emul.h b/sys/compat/linux/linux_emul.h
index 7125c92333d8..2c1b3cac2e3c 100644
--- a/sys/compat/linux/linux_emul.h
+++ b/sys/compat/linux/linux_emul.h
@@ -31,8 +31,6 @@
#ifndef _LINUX_EMUL_H_
#define _LINUX_EMUL_H_
-#include <compat/linux/linux_futex.h>
-
struct linux_emuldata_shared {
int refs;
pid_t group_pid;
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c
index b19d2906dabe..f87bcaea89ab 100644
--- a/sys/compat/linux/linux_futex.c
+++ b/sys/compat/linux/linux_futex.c
@@ -60,8 +60,8 @@ __KERNEL_RCSID(1, "$NetBSD: linux_futex.c,v 1.7 2006/07/24 19:01:49 manu Exp $")
#include <machine/../linux/linux.h>
#include <machine/../linux/linux_proto.h>
#endif
-#include <compat/linux/linux_emul.h>
#include <compat/linux/linux_futex.h>
+#include <compat/linux/linux_emul.h>
struct futex;