summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-28 00:37:33 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-28 00:37:33 +0000
commit68e831132128d8987462b44808fcd078ea7d83bb (patch)
tree14ee660cc18e9dc6f324a41ee4a09427f3e76387
parentdd21fe9ca0293264924d9045e7a9aab1e7f31f28 (diff)
- (bal) FreeBSD needs <sys/types.h> to detect if mmap() is supported.
Bug #303
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 75ed2720a..0140549c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,8 @@
5 - (bal) s/config.h/includes.h/ in openbsd-compat/ for *.c. Otherwise wise 5 - (bal) s/config.h/includes.h/ in openbsd-compat/ for *.c. Otherwise wise
6 have issues of our fixes not propogating right (ie bcopy instead of 6 have issues of our fixes not propogating right (ie bcopy instead of
7 memmove). OK tim 7 memmove). OK tim
8 - (bal) FreeBSD needs <sys/types.h> to detect if mmap() is supported.
9 Bug #303
8 10
9200206027 11200206027
10 - OpenBSD CVS Sync 12 - OpenBSD CVS Sync
@@ -1195,4 +1197,4 @@
1195 - (stevesk) entropy.c: typo in debug message 1197 - (stevesk) entropy.c: typo in debug message
1196 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 1198 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
1197 1199
1198$Id: ChangeLog,v 1.2310 2002/06/27 18:23:20 mouring Exp $ 1200$Id: ChangeLog,v 1.2311 2002/06/28 00:37:33 mouring Exp $
diff --git a/configure.ac b/configure.ac
index ad5d5cde9..7ef77e5b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.72 2002/06/25 22:35:16 tim Exp $ 1# $Id: configure.ac,v 1.73 2002/06/28 00:37:33 mouring Exp $
2 2
3AC_INIT 3AC_INIT
4AC_CONFIG_SRCDIR([ssh.c]) 4AC_CONFIG_SRCDIR([ssh.c])
@@ -582,6 +582,7 @@ AC_MSG_CHECKING([for mmap anon shared])
582AC_TRY_RUN( 582AC_TRY_RUN(
583 [ 583 [
584#include <stdio.h> 584#include <stdio.h>
585#include <sys/types.h>
585#include <sys/mman.h> 586#include <sys/mman.h>
586#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS) 587#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS)
587#define MAP_ANON MAP_ANONYMOUS 588#define MAP_ANON MAP_ANONYMOUS