Ignore:
Timestamp:
Nov 8, 2006, 2:05:42 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Don't use htonl() directly, use common.h's hton32() wrapper.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/common.h

    r1048 r1303  
    3434
    3535#if defined(HAVE_HTONS)
     36#   if defined(HAVE_ARPA_INET_H)
     37#       include <arpa/inet.h>
     38#   elif defined(HAVE_NETINET_IN_H)
     39#       include <netinet/in.h>
     40#   endif
    3641#   define hton16 htons
    3742#   define hton32 htonl
Note: See TracChangeset for help on using the changeset viewer.