mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
if2ip.[ch]: fix compilation with MinGW
Avoid 'interface' literal that some MinGW versions define as a macro
This commit is contained in:
parent
de6f4f356e
commit
4c4e8ba1f0
2 changed files with 14 additions and 14 deletions
|
|
@ -23,8 +23,8 @@
|
|||
***************************************************************************/
|
||||
#include "setup.h"
|
||||
|
||||
extern bool Curl_if_is_interface_name(const char *interface);
|
||||
extern char *Curl_if2ip(int af, const char *interf, char *buf, int buf_size);
|
||||
bool Curl_if_is_interface_name(const char *interf);
|
||||
char *Curl_if2ip(int af, const char *interf, char *buf, int buf_size);
|
||||
|
||||
#ifdef __INTERIX
|
||||
#include <sys/socket.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue