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 */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to