diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-09 06:59:58 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-09 06:59:58 +0000 |
commit | b71a0fe71e5b0b450afc392a182ec5f3b7488408 (patch) | |
tree | 75d6c4187384bc385d59838834bac80f53a077cd /networking | |
parent | 8addc88df4e17c82c6c73cc1e48bf78c6cdf48a7 (diff) | |
download | busybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.tar.gz busybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.tar.bz2 busybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.zip |
More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due
to missing stuff in the library).
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@795 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ping.c b/networking/ping.c index b9e8d0fd2..c560a7ce2 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.18 2000/07/06 23:10:29 andersen Exp $ | 3 | * $Id: ping.c,v 1.19 2000/07/09 06:59:58 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> |
@@ -51,7 +51,7 @@ | |||
51 | 51 | ||
52 | /* It turns out that libc5 doesn't have proper icmp support | 52 | /* It turns out that libc5 doesn't have proper icmp support |
53 | * built into it header files, so we have to supplement it */ | 53 | * built into it header files, so we have to supplement it */ |
54 | #if __GNU_LIBRARY__ < 5 | 54 | #if ! defined __GLIBC__ && ! defined __UCLIBC__ |
55 | typedef unsigned int socklen_t; | 55 | typedef unsigned int socklen_t; |
56 | 56 | ||
57 | #define ICMP_MINLEN 8 /* abs minimum */ | 57 | #define ICMP_MINLEN 8 /* abs minimum */ |