[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NetBSD 5.0’s <netdb.h> lacks AI_* macros
From: |
Ludovic Courtès |
Subject: |
NetBSD 5.0’s <netdb.h> lacks AI_* macros |
Date: |
Wed, 17 Feb 2010 01:17:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hello,
NetBSD 5.0’s <netdb.h> doesn’t define ‘AI_ALL’, ‘AI_V4MAPPED’, and
‘AI_ADDRCONFIG’. This can be worked around with something like this:
#ifndef AI_ALL
# define AI_ALL 0
#endif
#ifndef AI_V4MAPPED
# define AI_V4MAPPED 0
#endif
#ifndef AI_ADDRCONFIG
# define AI_ADDRCONFIG 0
#endif
Thanks,
Ludo’.
- NetBSD 5.0’s <netdb.h> lacks AI_* macros,
Ludovic Courtès <=