Fix socklen_t for libc5
This commit is contained in:
parent
9c09e0eeaa
commit
14e9e9d1ca
@ -1,6 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* 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
|
* Mini ping implementation for busybox
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
|
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
|
||||||
@ -55,8 +55,6 @@
|
|||||||
/* It turns out that libc5 doesn't have proper icmp support
|
/* It turns out that libc5 doesn't have proper icmp support
|
||||||
* built into it header files, so we have to supplement it */
|
* built into it header files, so we have to supplement it */
|
||||||
#if ! defined __GLIBC__ && ! defined __UCLIBC__
|
#if ! defined __GLIBC__ && ! defined __UCLIBC__
|
||||||
typedef unsigned int socklen_t;
|
|
||||||
|
|
||||||
static const int ICMP_MINLEN = 8; /* abs minimum */
|
static const int ICMP_MINLEN = 8; /* abs minimum */
|
||||||
|
|
||||||
struct icmp_ra_addr
|
struct icmp_ra_addr
|
||||||
|
4
ping.c
4
ping.c
@ -1,6 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* 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
|
* Mini ping implementation for busybox
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
|
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
|
||||||
@ -55,8 +55,6 @@
|
|||||||
/* It turns out that libc5 doesn't have proper icmp support
|
/* It turns out that libc5 doesn't have proper icmp support
|
||||||
* built into it header files, so we have to supplement it */
|
* built into it header files, so we have to supplement it */
|
||||||
#if ! defined __GLIBC__ && ! defined __UCLIBC__
|
#if ! defined __GLIBC__ && ! defined __UCLIBC__
|
||||||
typedef unsigned int socklen_t;
|
|
||||||
|
|
||||||
static const int ICMP_MINLEN = 8; /* abs minimum */
|
static const int ICMP_MINLEN = 8; /* abs minimum */
|
||||||
|
|
||||||
struct icmp_ra_addr
|
struct icmp_ra_addr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user