summaryrefslogtreecommitdiffstats
path: root/sys/compat/freebsd32
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-09-25 20:12:38 +0000
committerjhb <jhb@FreeBSD.org>2008-09-25 20:12:38 +0000
commit7cd998e440a6194e10f6c3f992365995098074c5 (patch)
treead32925c3b165e9de7c3925aa9a3b4fa9a023488 /sys/compat/freebsd32
parent6ccb676bf2445a537772620cbcbc08964153b8d1 (diff)
downloadFreeBSD-src-7cd998e440a6194e10f6c3f992365995098074c5.zip
FreeBSD-src-7cd998e440a6194e10f6c3f992365995098074c5.tar.gz
Sort includes and add multiple include guards.
Diffstat (limited to 'sys/compat/freebsd32')
-rw-r--r--sys/compat/freebsd32/freebsd32_util.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/compat/freebsd32/freebsd32_util.h b/sys/compat/freebsd32/freebsd32_util.h
index fadbeb4..5a4477f 100644
--- a/sys/compat/freebsd32/freebsd32_util.h
+++ b/sys/compat/freebsd32/freebsd32_util.h
@@ -28,14 +28,16 @@
* $FreeBSD$
*/
-#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <vm/pmap.h>
-
+#ifndef _COMPAT_FREEBSD32_FREEBSD32_UTIL_H_
+#define _COMPAT_FREEBSD32_FREEBSD32_UTIL_H_
+#include <sys/cdefs.h>
#include <sys/exec.h>
#include <sys/sysent.h>
-#include <sys/cdefs.h>
+
+#include <vm/vm.h>
+#include <vm/vm_param.h>
+#include <vm/pmap.h>
struct freebsd32_ps_strings {
u_int32_t ps_argvstr; /* first of 0 or more argument strings */
@@ -50,3 +52,5 @@ struct freebsd32_ps_strings {
#define FREEBSD32_PS_STRINGS \
(FREEBSD32_USRSTACK - sizeof(struct freebsd32_ps_strings))
+
+#endif /* !_COMPAT_FREEBSD32_FREEBSD32_UTIL_H_ */
OpenPOWER on IntegriCloud