diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-09 10:59:58 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-09 10:59:58 +0400 |
commit | 999bf72f49a501e47448010c4ddb06dc03ed1612 (patch) | |
tree | 75d6c4187384bc385d59838834bac80f53a077cd /ping.c | |
parent | e9b527ae48cb9609ea0668974de32da523ebd231 (diff) |
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
Diffstat (limited to 'ping.c')
-rw-r--r-- | ping.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ /* vi: set sw=4 ts=4: */ /* - * $Id: ping.c,v 1.18 2000/07/06 23:10:29 andersen Exp $ + * $Id: ping.c,v 1.19 2000/07/09 06:59:58 andersen Exp $ * Mini ping implementation for busybox * * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> @@ -51,7 +51,7 @@ /* It turns out that libc5 doesn't have proper icmp support * built into it header files, so we have to supplement it */ -#if __GNU_LIBRARY__ < 5 +#if ! defined __GLIBC__ && ! defined __UCLIBC__ typedef unsigned int socklen_t; #define ICMP_MINLEN 8 /* abs minimum */ |