summaryrefslogtreecommitdiffstats
path: root/crypto/des/des_locl.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-06-09 13:23:38 +0000
committerBodo Möller <bodo@openssl.org>1999-06-09 13:23:38 +0000
commite766a681aa4df604b20ce2d23cd131b74af9eaf7 (patch)
tree6ab2ba6c2881f49cb0ec8091d04100eef3653c84 /crypto/des/des_locl.h
parent9e952fc8770bf72b03fdd7acf6a1843070b44b4b (diff)
Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
Allow configuring the name of that header file.
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>