Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2016 19:24:33 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r301074 - head/sys/sys
Message-ID:  <201605311924.u4VJOXBI060906@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605311924.u4VJOXBI060906>