diff --git a/src/modules/_Crypto/crypto.c b/src/modules/_Crypto/crypto.c index 9d0fab908c93b41229c8de2f7b753e3f48bdf6c3..8d960e4de8be730cfb9e10c6e3c4baf6436f31db 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 61132d00ded35da86d99966635b5b0b2fc85faab..dc53c2b0f883b15ba28f2c2cdb34be54f634539d 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>