Cygwin lacks icmp support - pinger.c PATCH

From: Guido Serassio <serassio@dont-contact.us>
Date: Sun, 13 Oct 2002 15:07:43 +0200

Hi Robert,

Recently I have discovered why nobody asked before to fix the pinger.exe
build problem on Cygwin:

Simply, Cygwin lacks include files for icmp: the netinet/ip_icmp.h files is
empty ....
For more details: http://sources.redhat.com/ml/cygwin/2001-07/msg00889.html

So I have just adapted the Windows native port changes in pinger.c to
compile and run on Cygwin too.

In the attached patch file there is a full Windows update of pinger.c,
supporting both _SQUID_CYGWIN_ and _SQUID_MSWIN_ environments.

IMO this can go in HEAD and 2.5.

Regards

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it

Received on Sun Oct 13 2002 - 07:08:25 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:56 MST