summaryrefslogtreecommitdiff
path: root/include/inet_common.h
diff options
context:
space:
mode:
authorRob Landley2005-05-03 22:30:08 +0000
committerRob Landley2005-05-03 22:30:08 +0000
commit0d38301d851f29e1f64db1c0759c7fb97c59347e (patch)
tree37e74599154c1bfe7e62a973e9587c24dfa860c4 /include/inet_common.h
parent93983040c51ccbb2a19fc53f50498148edf98f65 (diff)
downloadbusybox-0d38301d851f29e1f64db1c0759c7fb97c59347e.zip
busybox-0d38301d851f29e1f64db1c0759c7fb97c59347e.tar.gz
From: Shaun Jackman <sjackman@gmail.com>
To: busybox@mail.codepoet.org Wrap sockaddr_in6 in a ifdef CONFIG_FEATURE_IPV6. Include sys/types.h instead of asm/types.h. Include netinet/if_ether.h instead of linux/if_ether.h The ioctl request argument is an int, not an unsigned short.
Diffstat (limited to 'include/inet_common.h')
-rw-r--r--include/inet_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/inet_common.h b/include/inet_common.h
index afea5de..4a9c3a2 100644
--- a/include/inet_common.h
+++ b/include/inet_common.h
@@ -29,5 +29,7 @@ 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);
+#ifdef CONFIG_FEATURE_IPV6
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);
+#endif