summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-06-19 14:58:35 +0000
committerbde <bde@FreeBSD.org>2004-06-19 14:58:35 +0000
commite041a584a65b87853f1fb19911f9fe5500b76f0a (patch)
tree5494ae34894ffbeeceed7989600bff0b5fed8a56 /sys/amd64/include
parent8fd212e66eb0a92687dd3836f196fe09430d2b87 (diff)
downloadFreeBSD-src-e041a584a65b87853f1fb19911f9fe5500b76f0a.zip
FreeBSD-src-e041a584a65b87853f1fb19911f9fe5500b76f0a.tar.gz
Include <sys/_lock.h>'s prerequisite <sys/queue.h> before including the
former, not after. Don't hide this bug by including <sys/queue.h> in <sys/_lock.h>.
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/pmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index 9a9386d..b3f42cc 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -129,9 +129,9 @@
#ifndef LOCORE
+#include <sys/queue.h>
#include <sys/_lock.h>
#include <sys/_mutex.h>
-#include <sys/queue.h>
typedef u_int64_t pd_entry_t;
typedef u_int64_t pt_entry_t;
OpenPOWER on IntegriCloud