From e766a681aa4df604b20ce2d23cd131b74af9eaf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Wed, 9 Jun 1999 13:23:38 +0000 Subject: Some pre-POSIX systems don't have unistd.h (but e.g. lib.c). Allow configuring the name of that header file. --- e_os2.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'e_os2.h') diff --git a/e_os2.h b/e_os2.h index 2bc0b48798..bd97b921a8 100644 --- a/e_os2.h +++ b/e_os2.h @@ -7,6 +7,16 @@ extern "C" { #endif +#include /* OPENSSL_UNISTD */ + +#ifdef MSDOS +# define OPENSSL_UNISTD_IO +# define OPENSSL_DECLARE_EXIT extern void exit(int); +#else +# define OPENSSL_UNISTD_IO OPENSSL_UNISTD +# define OPENSSL_DECLARE_EXIT /* declared in unistd.h */ +#endif + /* Definitions of OPENSSL_GLOBAL and OPENSSL_EXTERN, to define and declare certain global symbols that, with some compilers under VMS, have to be defined and -- cgit v1.2.1