svn commit: r301074 - head/sys/sys
Ed Schouten
ed at FreeBSD.org
Tue May 31 19:24:34 UTC 2016
Author: ed
Date: Tue May 31 19:24:32 2016
New Revision: 301074
URL: https://svnweb.freebsd.org/changeset/base/301074
Log:
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.
Modified:
head/sys/sys/shm.h
Modified: head/sys/sys/shm.h
==============================================================================
--- head/sys/sys/shm.h Tue May 31 19:19:21 2016 (r301073)
+++ head/sys/sys/shm.h Tue May 31 19:24:32 2016 (r301074)
@@ -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 */
More information about the svn-src-head
mailing list