- (bal) FreeBSD needs <sys/types.h> to detect if mmap() is supported.

Bug #303
This commit is contained in:
Ben Lindstrom 2002-06-28 00:37:33 +00:00
parent dd21fe9ca0
commit 68e8311321
2 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,8 @@
- (bal) s/config.h/includes.h/ in openbsd-compat/ for *.c. Otherwise wise
have issues of our fixes not propogating right (ie bcopy instead of
memmove). OK tim
- (bal) FreeBSD needs <sys/types.h> to detect if mmap() is supported.
Bug #303
200206027
- OpenBSD CVS Sync
@ -1195,4 +1197,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2310 2002/06/27 18:23:20 mouring Exp $
$Id: ChangeLog,v 1.2311 2002/06/28 00:37:33 mouring Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.72 2002/06/25 22:35:16 tim Exp $
# $Id: configure.ac,v 1.73 2002/06/28 00:37:33 mouring Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
@ -582,6 +582,7 @@ AC_MSG_CHECKING([for mmap anon shared])
AC_TRY_RUN(
[
#include <stdio.h>
#include <sys/types.h>
#include <sys/mman.h>
#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS)
#define MAP_ANON MAP_ANONYMOUS