summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-17 11:46:53 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-17 11:46:53 +0000
commitf209f0ec29d54af4ed5356e7828d003982a9e7ef (patch)
tree61d9c3012f175383188cb51422c0a339a10416c1 /libc
parentffd28375696a8322368383b4f86fa2229189e5e0 (diff)
- des uses ntohl
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/inet/Makefile.in b/libc/inet/Makefile.in
index 493041ff6..5bca2b9c5 100644
--- a/libc/inet/Makefile.in
+++ b/libc/inet/Makefile.in
@@ -11,10 +11,14 @@ INET_DIR := $(top_srcdir)libc/inet
INET_OUT := $(top_builddir)libc/inet
CSRC :=
+ifneq ($(UCLIBC_HAS_CRYPT_IMPL)$(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
+# des uses nthol
+CSRC += ntohl.c
+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 ntohl.c ifaddrs.c ntop.c
+ ether_addr.c ifaddrs.c ntop.c
endif
ifeq ($(UCLIBC_HAS_IPV6),y)
CSRC += in6_addr.c