<div dir="ltr"><div dir="ltr"><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Thanks
for Your answer!</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">I
was not clearly describing our problem, sorry! Our project is for embedded
devices running on MIPS processors. The system has a special OS, not Linux.</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">The
development system is under Linux, and we are compiling OpenSSL with cross
compile option for MIPS. We also compile the code for Linux, so that we have a
simulation of the embedded system, that can be easily debugged under Linux.</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Our problem
is, that the OpenSSL V1.1.1d needs includes, that are nonexistent for MIPS in
our development system. These headers were not needed for 1.0.2.</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">My question
is not a 100% OpenSSL question. But I think, as OpenSSL is widely used on non-Linux/Windows/…
systems, the question is legitime to ask, what to use on special systems? Or why
are these headers needed now?</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">The
programmer, who changed the code, probably had an idea about that.</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Best regards,</span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Balazs</span></p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Michael Wojcik <<a href="mailto:Michael.Wojcik@microfocus.com">Michael.Wojcik@microfocus.com</a>> ezt írta (időpont: 2020. márc. 30., H, 20:20):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: openssl-users <<a href="mailto:openssl-users-bounces@openssl.org" target="_blank">openssl-users-bounces@openssl.org</a>> on behalf of Balázs Horváth <<a href="mailto:balazs.horvath.email@gmail.com" target="_blank">balazs.horvath.email@gmail.com</a>><br>
Sent: Monday, March 30, 2020 10:00<br>
<br>
> Following extra includes are needed:<br>
> arpa/inet.h<br>
> netinet/tcp.h<br>
> netinet/in.h<br>
> strings.h<br>
> netdb.h<br>
> sys/socket.h<br>
> sys/ioctl.h<br>
> sys/un.h<br>
<br>
These are system headers, not OpenSSL headers. OpenSSL has no control over them.<br>
<br>
> For Linux the includes under /usr/include work, but for MIPS they give compile errors.<br>
<br>
Then you're using the wrong headers for the MIPS compilation. To be honest, it's not clear to me what you're doing, because Linux is an operating system (or more precisely a kernel), and MIPS is a processor family.<br>
<br>
> What should we use for MIPS?<br>
<br>
This is not an OpenSSL question. It's a cross-compilation question (I think, since I'm not sure what you're actually trying to do), and so depends on your cross-compilation toolchain.<br>
<br>
<br>
<br>
</blockquote></div></div>