summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-11-05 13:43:17 +0100
committerRichard Levitte <levitte@openssl.org>2001-11-05 13:43:17 +0100
commitf559f31bef538a29a0feab25fecd65ab3460adf6 (patch)
treed967192c0751ad163d52f2587a6d303c2f00bbec /apps
parentIf verify fails, say why. (diff)
downloadopenssl-f559f31bef538a29a0feab25fecd65ab3460adf6.tar.xz
openssl-f559f31bef538a29a0feab25fecd65ab3460adf6.zip
DOS and Windows do not like unistd.h
Diffstat (limited to 'apps')
-rw-r--r--apps/s_time.c2
-rw-r--r--apps/speed.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/s_time.c b/apps/s_time.c
index 3b6c808885..9ce114dcb6 100644
--- a/apps/s_time.c
+++ b/apps/s_time.c
@@ -81,7 +81,9 @@
#include "winmain.h"
#include "wintext.h"
#endif
+#if !defined(OPENSSL_SYS_MSDOS)
#include OPENSSL_UNISTD
+#endif
#if !defined(OPENSSL_SYS_MSDOS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC)) && !defined(OPENSSL_SYS_MACOSX)
#define TIMES
diff --git a/apps/speed.c b/apps/speed.c
index 70106817d8..5a882041fe 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -83,7 +83,9 @@
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
+#if !defined(OPENSSL_SYS_MSDOS)
#include OPENSSL_UNISTD
+#endif
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(OPENSSL_SYS_MACOSX)
# define USE_TOD