URL:
  <http://gna.org/bugs/?18501>

                 Summary: S2.3 does not compile on OpenBSD 5.0
                 Project: Freeciv
            Submitted by: akfaew
            Submitted on: Sun Aug 14 09:03:17 2011
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: S2.3
         Discussion Lock: Any
        Operating System: *BSD
         Planned Release: 

    _______________________________________________________

Details:


In file included from sernet.c:25:
/usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside
parameter list
/usr/include/arpa/inet.h:74: warning: its scope is only this definition or
declaration, which is probably not what you want
/usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside
parameter list


Fix similar to previous, attached. This is documented in "man 3 inet" in
OpenBSD:

SYNOPSIS
     #include <sys/types.h>
     #include <sys/socket.h>
     #include <netinet/in.h>
     #include <arpa/inet.h>





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun Aug 14 09:03:17 2011  Name: add_sys_socket_and_netinet_in.diff 
Size: 3kB   By: akfaew

<http://gna.org/bugs/download.php?file_id=13871>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18501>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to