From e6e14899f9da482064a3927f3ba7cd8e7354f80f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Mon, 22 Dec 1997 15:28:31 -0800
Subject: [PATCH] updated to work with NT (no sys/mmap.h)

Rev: src/modules/_Crypto/crypto.c:1.23
Rev: src/modules/_Crypto/des.c:1.10
---
 src/modules/_Crypto/crypto.c | 4 +++-
 src/modules/_Crypto/des.c    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/modules/_Crypto/crypto.c b/src/modules/_Crypto/crypto.c
index 9d0fab908c..8d960e4de8 100644
--- a/src/modules/_Crypto/crypto.c
+++ b/src/modules/_Crypto/crypto.c
@@ -1,5 +1,5 @@
 /*
- * $Id: crypto.c,v 1.22 1997/11/16 22:25:41 nisse Exp $
+ * $Id: crypto.c,v 1.23 1997/12/22 23:28:30 hubbe Exp $
  *
  * A pike module for getting access to some common cryptos.
  *
@@ -24,7 +24,9 @@
 /* System includes */
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
+#endif
 #include <sys/stat.h>
 #include <unistd.h>
 #include <fcntl.h>
diff --git a/src/modules/_Crypto/des.c b/src/modules/_Crypto/des.c
index 61132d00de..dc53c2b0f8 100644
--- a/src/modules/_Crypto/des.c
+++ b/src/modules/_Crypto/des.c
@@ -1,5 +1,5 @@
 /*
- * $Id: des.c,v 1.9 1997/11/16 22:25:42 nisse Exp $
+ * $Id: des.c,v 1.10 1997/12/22 23:28:31 hubbe Exp $
  *
  * A pike module for getting access to some common cryptos.
  *
@@ -27,7 +27,9 @@
 /* System includes */
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
+#endif
 #include <sys/stat.h>
 #include <unistd.h>
 #include <fcntl.h>
-- 
GitLab