Ethereal-dev: [Ethereal-dev] Ethereal 0.9.7 compile fix II

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "cjs 2895" <cjs2895@xxxxxxxxxxx>
Date: Tue, 08 Oct 2002 13:24:17 -0400
The following fix will all configure on AIX to correctly detect if libpcap exports its version or not when using the IBM Visual Age C compiler -- it didn't like the nested function, and seemed to be weary of the declaration of pcap_version.

diff configure.old configure
10945,10948d10944
< int
< main ()
< {
<
10952c10948
<       extern char pcap_version[];
---
      extern char *pcap_version;
10956,10958c10952,10956
<
<   ;
<   return 0;
---
int
main ()
{
  return_pcap_version();
  return(0);


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com