summaryrefslogtreecommitdiff
path: root/Utilities/cmcurl/if2ip.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-03-15 15:22:15 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-03-15 15:22:15 -0400
commit9314bb49e09b323f1c889d95448ca5dd0a42cc61 (patch)
tree72c7e4477ba67281ddc446e8cccad11e1b46e408 /Utilities/cmcurl/if2ip.h
parentf52d37c26f5fd48cc745b85c3233848d7b664368 (diff)
downloadcmake-9314bb49e09b323f1c889d95448ca5dd0a42cc61.tar.gz
ENH: Update Curl to 7.16.1
Diffstat (limited to 'Utilities/cmcurl/if2ip.h')
-rw-r--r--Utilities/cmcurl/if2ip.h12
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