aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-14 01:23:07 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-14 01:23:07 +0000
commit4787c52ffa147181b31fd45db06a82e4bc1b156b (patch)
tree8cd55b1f0de73e5a9f807ddfe066b09b49f59098
parent1af31ba99b473f38c8fe81feb091594147d39031 (diff)
downloadbusybox-w32-4787c52ffa147181b31fd45db06a82e4bc1b156b.tar.gz
busybox-w32-4787c52ffa147181b31fd45db06a82e4bc1b156b.tar.bz2
busybox-w32-4787c52ffa147181b31fd45db06a82e4bc1b156b.zip
Fix socklen_t for libc5
git-svn-id: svn://busybox.net/trunk/busybox@2066 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--networking/ping.c4
-rw-r--r--ping.c4
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 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * $Id: ping.c,v 1.38 2001/02/20 06:14:08 andersen Exp $ 3 * $Id: ping.c,v 1.39 2001/03/14 01:23:07 andersen Exp $
4 * Mini ping implementation for busybox 4 * Mini ping implementation for busybox
5 * 5 *
6 * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> 6 * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -55,8 +55,6 @@
55/* It turns out that libc5 doesn't have proper icmp support 55/* It turns out that libc5 doesn't have proper icmp support
56 * built into it header files, so we have to supplement it */ 56 * built into it header files, so we have to supplement it */
57#if ! defined __GLIBC__ && ! defined __UCLIBC__ 57#if ! defined __GLIBC__ && ! defined __UCLIBC__
58typedef unsigned int socklen_t;
59
60static const int ICMP_MINLEN = 8; /* abs minimum */ 58static const int ICMP_MINLEN = 8; /* abs minimum */
61 59
62struct icmp_ra_addr 60struct icmp_ra_addr
diff --git a/ping.c b/ping.c
index 50c7ce6e6..8ac963076 100644
--- a/ping.c
+++ b/ping.c
@@ -1,6 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * $Id: ping.c,v 1.38 2001/02/20 06:14:08 andersen Exp $ 3 * $Id: ping.c,v 1.39 2001/03/14 01:23:07 andersen Exp $
4 * Mini ping implementation for busybox 4 * Mini ping implementation for busybox
5 * 5 *
6 * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> 6 * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -55,8 +55,6 @@
55/* It turns out that libc5 doesn't have proper icmp support 55/* It turns out that libc5 doesn't have proper icmp support
56 * built into it header files, so we have to supplement it */ 56 * built into it header files, so we have to supplement it */
57#if ! defined __GLIBC__ && ! defined __UCLIBC__ 57#if ! defined __GLIBC__ && ! defined __UCLIBC__
58typedef unsigned int socklen_t;
59
60static const int ICMP_MINLEN = 8; /* abs minimum */ 58static const int ICMP_MINLEN = 8; /* abs minimum */
61 59
62struct icmp_ra_addr 60struct icmp_ra_addr