summaryrefslogtreecommitdiffstats
path: root/crypto/des/des_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/des_locl.h')
-rw-r--r--crypto/des/des_locl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/des/des_locl.h b/crypto/des/des_locl.h
index c9312f806a..a44da79b92 100644
--- a/crypto/des/des_locl.h
+++ b/crypto/des/des_locl.h
@@ -67,15 +67,16 @@
#include <stdio.h>
#include <stdlib.h>
+
+#include <openssl/opensslconf.h>
+
#ifndef MSDOS
#if !defined(VMS) || defined(__DECC)
-#include <unistd.h>
+#include OPENSSL_UNISTD
#endif
#endif
#include <openssl/des.h>
-#include <openssl/opensslconf.h>
-
#ifdef MSDOS /* Visual C++ 2.1 (Windows NT/95) */
#include <stdlib.h>
#include <errno.h>