summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/apps/s_apps.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/apps/s_apps.h')
-rw-r--r--crypto/openssl/apps/s_apps.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/openssl/apps/s_apps.h b/crypto/openssl/apps/s_apps.h
index ff18a72..66b6edd 100644
--- a/crypto/openssl/apps/s_apps.h
+++ b/crypto/openssl/apps/s_apps.h
@@ -112,6 +112,14 @@
#include <sys/types.h>
#include <openssl/opensslconf.h>
+#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS)
+#include <conio.h>
+#endif
+
+#ifdef OPENSSL_SYS_MSDOS
+#define _kbhit kbhit
+#endif
+
#if defined(OPENSSL_SYS_VMS) && !defined(FD_SET)
/* VAX C does not defined fd_set and friends, but it's actually quite simple */
/* These definitions are borrowed from SOCKETSHR. /Richard Levitte */
OpenPOWER on IntegriCloud