diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-15 13:02:28 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-15 13:02:28 +1100 |
commit | af87af165f25b7db22e32c0b2e55606bc68c450c (patch) | |
tree | c0c8557324164e41b9b09b9db942b7193be69c02 /openbsd-compat/xmmap.c | |
parent | a63128d1a8a4077bc992e09d00e2683d1592e500 (diff) |
- (djm) [configure.ac defines.h kex.c md-sha256.c]
[openbsd-compat/sha2.h openbsd-compat/openbsd-compat.h]
[openbsd-compat/sha2.c] First stab at portability glue for SHA256
KEX support, should work with libc SHA256 support or OpenSSL
EVP_sha256 if present
Diffstat (limited to 'openbsd-compat/xmmap.c')
-rw-r--r-- | openbsd-compat/xmmap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/xmmap.c b/openbsd-compat/xmmap.c index 74e8a8b13..68ac91192 100644 --- a/openbsd-compat/xmmap.c +++ b/openbsd-compat/xmmap.c | |||
@@ -23,13 +23,15 @@ | |||
23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 | */ | 24 | */ |
25 | 25 | ||
26 | /* $Id: xmmap.c,v 1.6 2004/10/06 13:15:44 dtucker Exp $ */ | 26 | /* $Id: xmmap.c,v 1.7 2006/03/15 02:02:31 djm Exp $ */ |
27 | 27 | ||
28 | #include "includes.h" | 28 | #include "includes.h" |
29 | 29 | ||
30 | #include <sys/types.h> | ||
30 | #ifdef HAVE_SYS_MMAN_H | 31 | #ifdef HAVE_SYS_MMAN_H |
31 | #include <sys/mman.h> | 32 | #include <sys/mman.h> |
32 | #endif | 33 | #endif |
34 | #include <sys/stat.h> | ||
33 | 35 | ||
34 | #include "log.h" | 36 | #include "log.h" |
35 | 37 | ||