diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-06-12 08:15:29 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-06-12 08:15:29 +0000 |
commit | b14295cfe4f2a738a0b023d10bc508da2c458bdb (patch) | |
tree | 372f60ae84e507d582a83600a700304b462f94da /src/port/crypt.c | |
parent | dc4ee8a833c09e883f1966d1698792b627649740 (diff) | |
download | postgresql-b14295cfe4f2a738a0b023d10bc508da2c458bdb.tar.gz postgresql-b14295cfe4f2a738a0b023d10bc508da2c458bdb.zip |
Attached is the complete diff against current CVS.
Compiles on BCC 5.5 and VC++ 6.0 (with warnings).
Karl Waclawek
Diffstat (limited to 'src/port/crypt.c')
-rw-r--r-- | src/port/crypt.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/port/crypt.c b/src/port/crypt.c index dd3e7ecb2a2..893e227fcf5 100644 --- a/src/port/crypt.c +++ b/src/port/crypt.c @@ -50,8 +50,12 @@ __RCSID("$NetBSD: crypt.c,v 1.18 2001/03/01 14:37:35 wiz Exp $"); #include <sys/types.h> #include <limits.h> #include <stdlib.h> -#include <unistd.h> + +#ifdef WIN32 #include <windows.h> +#else +#include <unistd.h> +#endif static int des_setkey(const char *key); static int des_cipher(const char *in, char *out, long salt, int num_iter); |