From 9d07a3c9a5833fab2064df4e1b6e484749443b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Thu, 22 Apr 1999 16:30:17 +0000 Subject: [PATCH] Ultrix compatibility. Submitted by: Bernhard Simon --- Configure | 3 ++- crypto/bio/bss_log.c | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Configure b/Configure index b4e8925bb0..bd4506d408 100755 --- a/Configure +++ b/Configure @@ -179,7 +179,7 @@ my %table=( # IBM's AIX. "aix-cc", "cc:-O -DAIX -DB_ENDIAN::BN_LLONG RC4_CHAR:::", -"aix-gcc", "gcc:-O2 -DAIX -DB_ENDIAN::BN_LLONG RC4_CHAR:::", +"aix-gcc", "gcc:-O3 -DAIX -DB_ENDIAN::BN_LLONG RC4_CHAR:::", # # Cray T90 (SDSC) @@ -234,6 +234,7 @@ my %table=( # Ultrix from Bernhard Simon "ultrix","cc:-std1 -O -Olimit 1000 -DL_ENDIAN::::::", +"ultrix-gcc","cc:-O3 -DL_ENDIAN::::::", # K&R C is no longer supported; you need gcc on old Ultrix installations ##"ultrix","cc:-O2 -DNOPROTO -DNOCONST -DL_ENDIAN::::::", diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index b89e6e09e1..e434f29054 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -67,8 +67,12 @@ #include #ifndef WIN32 +#ifdef __ultrix +#include +#else #include #endif +#endif #include "cryptlib.h" #include "buffer.h"