Changeset 4358b10 for dcc.c


Ignore:
Timestamp:
2008-05-04T13:32:15Z (16 years ago)
Author:
ulim <a.sporto+bee@…>
Branches:
master
Children:
29c1456
Parents:
0cab388
Message:

ulibc support, fixes "Invalid SOCKS5 Connect message" problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dcc.c

    r0cab388 r4358b10  
    2929#include <netinet/tcp.h>
    3030#include <regex.h>
     31
     32/* Some ifdefs for ulibc (Thanks to Whoopie) */
     33#ifndef HOST_NAME_MAX
     34#include <sys/param.h>
     35#ifdef MAXHOSTNAMELEN
     36#define HOST_NAME_MAX MAXHOSTNAMELEN
     37#else
     38#define HOST_NAME_MAX 255
     39#endif
     40#endif
     41
     42#ifndef AI_NUMERICSERV
     43#define AI_NUMERICSERV 0x0400   /* Don't use name resolution.  */
     44#endif
    3145
    3246/*
Note: See TracChangeset for help on using the changeset viewer.