Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10398) patch: compile warning on OSX in netintf.c
Home

[Freeciv-Dev] (PR#10398) patch: compile warning on OSX in netintf.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10398) patch: compile warning on OSX in netintf.c
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Sep 2004 15:15:13 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10398 >

netintf.c includes <arpa/inet.h> before <netinet/in.h>, which works on linux 
but on OSX 
causes inet_aton to be declared before struct in_addr, which causes a compile 
warning.

Attachment: netintf.macos.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10398) patch: compile warning on OSX in netintf.c, Benoit Hudson <=