Changeset 66be784 for protocols/msn


Ignore:
Timestamp:
2008-08-11T14:31:03Z (16 years ago)
Author:
ulim <a.sporto+bee@…>
Branches:
master
Children:
a02f34f
Parents:
92f4ec5
Message:

copied ulibc/BSD ifdefs over to invitation.c.

I'll have to move these to a generic header file eventually.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/invitation.c

    r92f4ec5 r66be784  
    2828#include "invitation.h"
    2929#include "msn.h"
     30
     31/* Some ifdefs for ulibc and apparently also BSD (Thanks to Whoopie) */
     32#ifndef HOST_NAME_MAX
     33#include <sys/param.h>
     34#ifdef MAXHOSTNAMELEN
     35#define HOST_NAME_MAX MAXHOSTNAMELEN
     36#else
     37#define HOST_NAME_MAX 255
     38#endif
     39#endif
     40
     41#ifndef AI_NUMERICSERV
     42#define AI_NUMERICSERV 0x0400   /* Don't use name resolution.  */
     43#endif
    3044
    3145#ifdef debug
Note: See TracChangeset for help on using the changeset viewer.