diff options
author | Juan Manuel Guerrero <juan.guerrero@gmx.de> | 2022-02-02 00:41:02 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-02-04 08:52:51 +0100 |
commit | e2f06af9cfc59f5447ac645430cab1f9fa6a1071 (patch) | |
tree | 9e7a1271d6c685587f476f3b01a29b4d4bb85a86 /crypto/context.c | |
parent | 821a2c72220e6b4a208979eb53ea4f6fb0260b75 (diff) |
Fix builds with DJGPP
CLA: trivial
To get the master branch compiled with DJGPP some minor
adjustments are required. They will have no impact on any other ports.
The DJGPP port uses the Watt-32 library to provide the required network
functionality and some of its headers need to be included.
Neither DJGPP nor the Watt-32 library provide in_addr_t thus it must be
provided as it is done for OPENSSL_SYS_WINDOWS in crypto/bio/b_addr.c.
In the DJGPP section of include/internal/sockets.h the following Watt-32
headers must be added:
- arpa/inet.h: to provide declaration of inet_ntoa required in crypto/bio/b_addr.c
- netinet/tcp.h: to provide defintion of TCP_NODELAY required in crypto/bio/b_sock2.c
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17623)
(cherry picked from commit b9b211fcb6b9068ef1d8729a4971fbe693fd2cde)
Diffstat (limited to 'crypto/context.c')
0 files changed, 0 insertions, 0 deletions