summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2016-05-31 19:24:32 +0000
committered <ed@FreeBSD.org>2016-05-31 19:24:32 +0000
commit98c1c0b36867e6cd4c490e98457ba5391fa6071f (patch)
tree796fbda56a5dc87df06fe96b331547bdc7abf1a4 /sys
parenta188a68e4bc43c647e0e94526e1dcbcbae88c28b (diff)
downloadFreeBSD-src-98c1c0b36867e6cd4c490e98457ba5391fa6071f.zip
FreeBSD-src-98c1c0b36867e6cd4c490e98457ba5391fa6071f.tar.gz
Add missing dependency on <machine/param.h>.
The SHMLBA definition provided by this header file is defined as PAGE_SIZE. PAGE_SIZE is only available when <machine/param.h> is included.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/shm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/shm.h b/sys/sys/shm.h
index 455e858..abf5a85 100644
--- a/sys/sys/shm.h
+++ b/sys/sys/shm.h
@@ -43,6 +43,8 @@
#include <sys/ipc.h>
#include <sys/_types.h>
+#include <machine/param.h>
+
#define SHM_RDONLY 010000 /* Attach read-only (else read-write) */
#define SHM_RND 020000 /* Round attach address to SHMLBA */
#define SHMLBA PAGE_SIZE /* Segment low boundary address multiple */
OpenPOWER on IntegriCloud