aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des/des.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/des.c')
-rw-r--r--crypto/des/des.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/des/des.c b/crypto/des/des.c
index 91d7967e31..32ddf1b927 100644
--- a/crypto/des/des.c
+++ b/crypto/des/des.c
@@ -60,7 +60,8 @@
#include <stdlib.h>
#ifndef MSDOS
#ifndef VMS
-#include <unistd.h>
+#include <openssl/opensslconf.h>
+#include OPENSSL_UNISTD
#else /* VMS */
#ifdef __DECC
#include <unistd.h>