mirror of
https://github.com/curl/curl.git
synced 2026-08-19 11:23:49 +03:00
connect: fix building for recent versions of Minix
EBADIOCTL doesn't exist on more recent Minix. There have also been substantial changes to the network stack. Fixes build on Minix 3.4rc Closes https://github.com/curl/curl/pull/3323
This commit is contained in:
parent
a39d8f7056
commit
b466560124
1 changed files with 1 additions and 1 deletions
|
|
@ -522,7 +522,7 @@ static bool verifyconnect(curl_socket_t sockfd, int *error)
|
|||
err = 0;
|
||||
}
|
||||
#endif
|
||||
#ifdef __minix
|
||||
#if defined(EBADIOCTL) && defined(__minix)
|
||||
/* Minix 3.1.x doesn't support getsockopt on UDP sockets */
|
||||
if(EBADIOCTL == err) {
|
||||
SET_SOCKERRNO(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue