diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-14 01:23:07 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-14 01:23:07 +0000 |
commit | 14e9e9d1cab3ef5ed9910fadb5a327b5982c2049 (patch) | |
tree | 8cd55b1f0de73e5a9f807ddfe066b09b49f59098 | |
parent | 9c09e0eeaa3bc23fc3137ad823a6a597d6420e37 (diff) | |
download | busybox-14e9e9d1cab3ef5ed9910fadb5a327b5982c2049.tar.gz |
Fix socklen_t for libc5
-rw-r--r-- | networking/ping.c | 4 | ||||
-rw-r--r-- | ping.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/networking/ping.c b/networking/ping.c index 50c7ce6e6..8ac963076 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -1,6 +1,6 @@ /* vi: set sw=4 ts=4: */ /* - * $Id: ping.c,v 1.38 2001/02/20 06:14:08 andersen Exp $ + * $Id: ping.c,v 1.39 2001/03/14 01:23:07 andersen Exp $ * Mini ping implementation for busybox * * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> @@ -55,8 +55,6 @@ /* It turns out that libc5 doesn't have proper icmp support * built into it header files, so we have to supplement it */ #if ! defined __GLIBC__ && ! defined __UCLIBC__ -typedef unsigned int socklen_t; - static const int ICMP_MINLEN = 8; /* abs minimum */ struct icmp_ra_addr @@ -1,6 +1,6 @@ /* vi: set sw=4 ts=4: */ /* - * $Id: ping.c,v 1.38 2001/02/20 06:14:08 andersen Exp $ + * $Id: ping.c,v 1.39 2001/03/14 01:23:07 andersen Exp $ * Mini ping implementation for busybox * * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> @@ -55,8 +55,6 @@ /* It turns out that libc5 doesn't have proper icmp support * built into it header files, so we have to supplement it */ #if ! defined __GLIBC__ && ! defined __UCLIBC__ -typedef unsigned int socklen_t; - static const int ICMP_MINLEN = 8; /* abs minimum */ struct icmp_ra_addr |