From nobody  Tue Oct 27 00:08:19 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id AAA23631;
          Tue, 27 Oct 1998 00:08:19 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199810270808.AAA23631@hub.freebsd.org>
Date: Tue, 27 Oct 1998 00:08:19 -0800 (PST)
From: stefan.witzel@zvw.uni-goettingen.de
To: freebsd-gnats-submit@freebsd.org
Subject: Missing include file <machine/param.h> when using <sys/shm.h>
X-Send-Pr-Version: www-1.0

>Number:         8464
>Category:       docs
>Synopsis:       Missing include file <machine/param.h> when using <sys/shm.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 27 00:10:00 PST 1998
>Closed-Date:    Tue May 4 11:01:52 PDT 1999
>Last-Modified:  Tue May  4 11:02:34 PDT 1999
>Originator:     Stefan Witzel
>Release:        2.2.7
>Organization:
Universitaet Goettingen
>Environment:
FreeBSD thrake.zvw.uni-goettingen.de 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Fri
 Oct 23 13:31:50 CEST 1998     dv1@thrake.zvw.uni-goettingen.de:/usr/src/sys/com
pile/thrake-1.0.0  i386

>Description:
When compiling a programs which uses shared memory I get an error
message that PAGE_SIZE isn't defined. 
>How-To-Repeat:

>Fix:
Either include

#include <machine/param.h>

in the SYNOPSIS section of the man pages or

#include <machine/param.h>

in /usr/include/sys/shm.h

I hope this is the PAGE_SIZE I need.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: nik 
State-Changed-When: Wed Apr 14 11:38:11 PDT 1999 
State-Changed-Why:  
Which man page should be updated by this? 
State-Changed-From-To: analyzed->closed 
State-Changed-By: ghelmer 
State-Changed-When: Tue May 4 11:01:52 PDT 1999 
State-Changed-Why:  
Added missing include to shmat.2, shmget.2, and shmctl.2. 
>Unformatted:
