From 16aff24b990830b4a2f04a8a241f039d1e47cff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Mon, 25 Oct 2004 23:39:57 +0000 Subject: [PATCH] replaced with the standard patch git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9512 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bin/bash/lib/sh/inet_aton.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/apps/bin/bash/lib/sh/inet_aton.c b/src/apps/bin/bash/lib/sh/inet_aton.c index 121a22db9b..c42660e5bd 100644 --- a/src/apps/bin/bash/lib/sh/inet_aton.c +++ b/src/apps/bin/bash/lib/sh/inet_aton.c @@ -57,17 +57,19 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)inet_addr.c 8.1 (Berkeley) 6/17/93"; -static char rcsid[] = "$Id: inet_aton.c,v 1.1 2004/06/07 09:07:23 korli Exp $"; +static char rcsid[] = "$Id: inet_aton.c,v 1.2 2004/10/25 23:39:57 korli Exp $"; #endif /* LIBC_SCCS and not lint */ #include -#if !defined (HAVE_INET_ATON) && defined (HAVE_NETWORK) && defined (HAVE_NETINET_IN_H) //&& defined (HAVE_ARPA_INET_H) +#if !defined (HAVE_INET_ATON) && defined (HAVE_NETWORK) && defined (HAVE_NETINET_IN_H) && (defined (HAVE_ARPA_INET_H) || defined (__BEOS__)) #include #include #include -//#include +#ifdef HAVE_ARPA_INET_H +#include +#endif #ifdef HAVE_UNISTD_H # include