<div dir="ltr">Hi,<div><br></div><div>We are upgrading our code base to openssl 1.1.1g from 1.0.2k. </div><div>During Compilation i am seeing this error :</div><div><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px">In file included from <project_path>/openssl/include/internal/sockets.h:67:0,<br>

                 from <path>/openssl/crypto/bio/bio_local.h:11,<br>

                 from <path>/openssl/crypto/bio/bss_mem.c:12:<br>

/opt/toolchains/adtn-6/sysroots/ppce500v2-fsl-linux-gnuspe/usr/include/netdb.h:469:7: error: unknown type name 'sa_family_t'<br>

/opt/toolchains/adtn-6/sysroots/ppce500v2-fsl-linux-gnuspe/usr/include/netdb.h:497:8: error: unknown type name 'sa_family_t'<br>

/opt/toolchains/adtn-6/sysroots/ppce500v2-fsl-linux-gnuspe/usr/include/netdb.h:519:10: error: unknown type name 'sa_family_t'<br>

/opt/toolchains/adtn-6/sysroots/ppce500v2-fsl-linux-gnuspe/usr/include/netdb.h:543:4: error: unknown type name 'sa_family_t'<br>

/opt/toolchains/adtn-6/sysroots/ppce500v2-fsl-linux-gnuspe/usr/include/netdb.h:562:41: error: unknown type name 'sa_family_t'</div></div><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px"><br></div><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px">In bio_local.h , if we remove "#include<internal/sockets.h>"  & replace it with  "#include<sys/socket.h>" , the error is gone !! .  But I am not sure is this correct ??</div><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px">Btw , even  "internal/sockets.h " has " #include<sys/socket.h>".</div><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px"><br></div><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px">How to resolve this , Might I have missed something during configure & compilation   ??</div><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px">fwiw: have given "./configure <options> gcc"  & same was given when we had upgraded to 1.0.2 from previous versions long ago.</div><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px"><br></div><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px">Thanks,</div><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px">Prud.</div></div>