diff options
Diffstat (limited to 'Utilities/cmcurl/if2ip.h')
-rw-r--r-- | Utilities/cmcurl/if2ip.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Utilities/cmcurl/if2ip.h b/Utilities/cmcurl/if2ip.h index 45a1805319..4e86e2b27d 100644 --- a/Utilities/cmcurl/if2ip.h +++ b/Utilities/cmcurl/if2ip.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -24,13 +24,11 @@ ***************************************************************************/ #include "setup.h" -#if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN32__) && \ - !defined(__riscos__) && !defined(__INTERIX) -extern char *Curl_if2ip(const char *interface, char *buf, int buf_size); -#else -#define Curl_if2ip(a,b,c) NULL -#endif +extern char *Curl_if2ip(const char *interf, char *buf, int buf_size); + #ifdef __INTERIX +#include <sys/socket.h> + /* Nedelcho Stanev's work-around for SFU 3.0 */ struct ifreq { #define IFNAMSIZ 16 |