summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-01-19 17:21:52 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-01-21 12:43:41 +0100
commit42303a2fc71e095e4e2c4f9caa87e05bb266c334 (patch)
tree18e023f332db7595f3a064521eee6ccf6592afb5 /libc/inet
parent654c4f2b35297e63eab19f756f500d1ea1d5e338 (diff)
ether_line: fix build for socket && !ip
The internal __ether_line helper needs ether_ntoa_r() Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit 81264e8097b705f3b2a7e29be0a1a2ea853230cb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/Makefile.in b/libc/inet/Makefile.in
index 23e8732b2..81319452f 100644
--- a/libc/inet/Makefile.in
+++ b/libc/inet/Makefile.in
@@ -20,7 +20,7 @@ endif
ifneq ($(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
CSRC += getservice.c getproto.c hostid.c getnetent.c getnetbynm.c getnetbyad.c \
inet_net.c herror.c if_index.c gai_strerror.c getaddrinfo.c \
- ether_addr.c ifaddrs.c ntop.c
+ ifaddrs.c ntop.c
endif
ifeq ($(UCLIBC_HAS_IPV6),y)
CSRC += in6_addr.c
@@ -62,7 +62,7 @@ CSRC += $(socketcalls_CSRC) opensock.c
endif
ifneq ($(UCLIBC_HAS_SOCKET)$(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
-CSRC += ethers.c
+CSRC += ethers.c ether_addr.c
endif
INET_SRC := $(patsubst %.c,$(INET_DIR)/%.c,$(CSRC))