mirror of
https://github.com/curl/curl.git
synced 2026-05-30 10:17:28 +03:00
amigaos: fix sys/mbuf.h m_len macro clash
The updated Curl_http_req_make and Curl_http_req_make2 functions spawned a parameter called m_len. The AmigaOS networking headers, derived from NetBSD, contain "#define m_len m_hdr.mh_len" which clashes with this. Since we do not actually use mbuf, force the include file to be ignored, removing the clash. Closes #11479
This commit is contained in:
parent
95301e41f1
commit
9ea44fca25
1 changed files with 1 additions and 0 deletions
|
|
@ -298,6 +298,7 @@
|
|||
# if defined(HAVE_PROTO_BSDSOCKET_H) && \
|
||||
(!defined(__amigaos4__) || defined(USE_AMISSL))
|
||||
/* use bsdsocket.library directly, instead of libc networking functions */
|
||||
# define _SYS_MBUF_H /* m_len define clashes with curl */
|
||||
# include <proto/bsdsocket.h>
|
||||
# ifdef __amigaos4__
|
||||
int Curl_amiga_select(int nfds, fd_set *readfds, fd_set *writefds,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue