- (bal) FreeBSD needs <sys/types.h> to detect if mmap() is supported.
Bug #303
diff --git a/ChangeLog b/ChangeLog
index 75ed272..0140549 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/configure.ac b/configure.ac
index ad5d5cd..7ef77e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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_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