diff options
Diffstat (limited to 'crypto/openssl/e_os.h')
-rw-r--r-- | crypto/openssl/e_os.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssl/e_os.h b/crypto/openssl/e_os.h index 45fef69..1fa36c1 100644 --- a/crypto/openssl/e_os.h +++ b/crypto/openssl/e_os.h @@ -619,7 +619,7 @@ struct servent *PASCAL getservbyname(const char *, const char *); # include <sys/select.h> # endif -# if defined(sun) +# if defined(__sun) || defined(sun) # include <sys/filio.h> # else # ifndef VMS @@ -661,7 +661,7 @@ struct servent *PASCAL getservbyname(const char *, const char *); # endif -# if defined(sun) && !defined(__svr4__) && !defined(__SVR4) +# if (defined(__sun) || defined(sun)) && !defined(__svr4__) && !defined(__SVR4) /* include headers first, so our defines don't break it */ # include <stdlib.h> # include <string.h> |