Changeset 1ecff5e


Ignore:
Timestamp:
2008-02-10T11:12:35Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
3038e47
Parents:
7adc657
Message:

Making AI_ADDRCONFIG optional, it doesn't exist on at least NetBSD and
(IIRC) OpenBSD systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bitlbee.c

    r7adc657 r1ecff5e  
    4848        hints.ai_family = PF_UNSPEC;
    4949        hints.ai_socktype = SOCK_STREAM;
    50         hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE;
     50        hints.ai_flags = AI_PASSIVE
     51#ifdef AI_ADDRCONFIG
     52                       | AI_ADDRCONFIG
     53#endif
     54        ;
    5155
    5256        i = getaddrinfo( global.conf->iface, global.conf->port, &hints, &addrinfo_bind );
Note: See TracChangeset for help on using the changeset viewer.