Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 1998 00:08:19 -0800 (PST)
From:      stefan.witzel@zvw.uni-goettingen.de
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   docs/8464: Missing include file <machine/param.h> when using <sys/shm.h>
Message-ID:  <199810270808.AAA23631@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 27 00:10:00 PST 1998
>Last-Modified:
>Originator:     Stefan Witzel
>Organization:
Universitaet Goettingen
>Release:        2.2.7
>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.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



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