X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=hacks%2Fsonar.c;h=5ccbc44c079b4219031f66befd7d4c618a9f1208;hb=14627f4038ada5d11456f3770090f3c39740d70f;hp=0608ac5bf668e94c0f92ccd4add89a4aab495cea;hpb=93f25dc6827112d98b8b855ea85c8f5eb8123086;p=xscreensaver diff --git a/hacks/sonar.c b/hacks/sonar.c index 0608ac5b..5ccbc44c 100644 --- a/hacks/sonar.c +++ b/hacks/sonar.c @@ -37,7 +37,7 @@ * software for any purpose. It is provided "as is" without express or * implied warranty. * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * * Version 1.0 April 27, 1998. * - Initial version @@ -215,13 +215,14 @@ void *sensor_info; /* Information about the sensor */ * A list of targets to ping. */ -#ifdef HAVE_PING typedef struct ping_target { char *name; /* The name of the target */ struct sockaddr address; /* The address of the target */ struct ping_target *next; /* The next one in the list */ } ping_target; + +#ifdef HAVE_PING /* * Ping Information. *