Changeset 865 for libcaca/trunk/src


Ignore:
Timestamp:
Apr 24, 2006, 11:09:06 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed htons/htonl to hton16/hton32 to avoid useless conflicts.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaserver.c

    r859 r865  
    1919#include <string.h>
    2020#include <stdlib.h>
     21#if defined(HAVE_ARPA_INET_H)
     22#   include <arpa/inet.h>
     23#elif defined(HAVE_NETINET_IN_H)
     24#   include <netinet/in.h>
     25#elif defined(HAVE_WINSOCK2_H)
     26#   include <winsock2.h>
     27#endif
    2128#include <sys/types.h>
    2229#include <sys/socket.h>
    23 #include <arpa/inet.h>
    2430#include <fcntl.h>
    2531#include <signal.h>
Note: See TracChangeset for help on using the changeset viewer.