Bug 322

Summary: Anon shared MMAP test fails wrongly under FreeBSD
Product: Portable OpenSSH Reporter: Chris Myers <chris>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED DUPLICATE    
Severity: minor    
Priority: P3    
Version: -current   
Hardware: ix86   
OS: FreeBSD   

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