Bug 322 - Anon shared MMAP test fails wrongly under FreeBSD
Summary: Anon shared MMAP test fails wrongly under FreeBSD
Status: CLOSED DUPLICATE of bug 303
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: ix86 FreeBSD
: P3 minor
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-30 05:18 AEST by Chris Myers
Modified: 2003-05-18 11:38 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Myers 2002-06-30 05:18:24 AEST
Under FreeBSD, /usr/include/sys/mman.h does not 
include /usr/include/sys/types.h.  The OpenSSH test for anonymous shared memory 
maps includes mman.h without including types.h and the test code snippet 
compile fails.

I'll report the omission to the FreeBSD folks, but changing the snippet in 
configure to include <sys/types.h> will allow FreeBSD folks to use compression 
and privilege separation until then.
Comment 1 Gert Doering 2002-06-30 05:56:57 AEST

*** This bug has been marked as a duplicate of 303 ***
Comment 2 Ben Lindstrom 2002-06-30 11:08:55 AEST
already solve in CVS tree