Edit

kc3-lang/libressl/include/arpa/inet.h

Branch :

  • Browse

    Commit

  • Author : Brent Cook
    Date : 2015-06-29 22:51:40
    Hash : 54545427
    Message : add check for inet_pton, nudge minimum win32 compat to 0x0501

  • include/arpa/inet.h
  • /*
     * Public domain
     * arpa/inet.h compatibility shim
     */
    
    #ifndef _WIN32
    #include_next <arpa/inet.h>
    #else
    #include <win32netcompat.h>
    
    #ifndef AI_ADDRCONFIG
    #define AI_ADDRCONFIG               0x00000400
    #endif
    
    #endif
    
    #ifndef HAVE_INET_PTON
    int inet_pton(int af, const char * restrict src, void * restrict dst);
    #endif