New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't include sys/select.h on HP-UX as it doesn't exist #18395
Conversation
I'm wondering why we haven't hit this before on this platform? |
We have the same situation on HPE NonStop. |
That code is new in 3.x I think - the only place in 1.1 that includes it is
which is only used on AIX systems. |
Is this on |
This came from me building the 3.0.3 release but looking at it I can see our Itanium machine (running B.11.23) does have it - it's only the PA-RISC machine (running B.11.11) which doesn't. Both build without including it though. |
I'm rerunning the builds on our ia64 also. The x86 build 3.0 was fine last night. |
There is specific code for NonStop to avoid this: # if defined __TANDEM
# include <unistd.h>
# include <sys/time.h> /* select */
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_select)>
# endif
# elif defined _WIN32
# include <winsock.h> /* for type fd_set */
# else
# include <unistd.h>
# if defined __VMS
# include <sys/socket.h>
# else
# include <sys/select.h>
# endif
# endif |
Yup. That looks like my handiwork ;) |
On the other hand, @mattcaswell, we are getting
as of this morning. |
That one results from |
Ah. Can you raise a separate issue for that please? |
Will do. |
Opened as #18396 |
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
CLA: trivial Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #18395)
I've merged this to master and 3.0 branches. I did not notice this has CLA:trivial before merging this but I am OK with it. @mattcaswell Can you please confirm, you're OK with CLA: trivial for this? |
This builds correctly on both |
There is no
sys/select.h
on HP-UX and the man page listssys/time.h
as the correct header forselect
.