From f209f0ec29d54af4ed5356e7828d003982a9e7ef Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date: Fri, 17 Oct 2008 11:46:53 +0000
Subject: - des uses ntohl

---
 libc/inet/Makefile.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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
-- 
cgit v1.2.3