Fixup to the previous (portability) patch. Linux actually does need
[oweals/busybox.git] / include / inet_common.h
index 2c5e8f673bc3a2149e97c74b88f3eb0e9adc6871..aa883ed3e6905742ba780ed632cab3a1b460224b 100644 (file)
@@ -1,17 +1,17 @@
 /*
  * stolen from net-tools-1.59 and stripped down for busybox by
- *                      Erik Andersen <andersee@debian.org>
+ *                      Erik Andersen <andersen@codepoet.org>
  *
  * Heavily modified by Manuel Novoa III       Mar 12, 2001
  *
- * Version:     $Id: inet_common.h,v 1.1 2001/11/10 12:18:42 andersen Exp $
+ * Version:     $Id: inet_common.h,v 1.4 2004/03/10 07:42:37 mjn3 Exp $
  *
  */
 
 #include <features.h>
 #include <sys/types.h>
 #include <sys/socket.h>
-#include <arpa/inet.h>
+#include "platform.h"
 
 
 extern const char bb_INET_default[];    /* = "default" */
@@ -28,3 +28,6 @@ extern int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirs
  */
 extern int INET_rresolve(char *name, size_t len, struct sockaddr_in *s_in,
                         int numeric, unsigned int netmask);
+
+extern int INET6_resolve(const char *name, struct sockaddr_in6 *sin6);
+extern int INET6_rresolve(char *name, size_t len, struct sockaddr_in6 *sin6, int numeric);