]> git.tuebingen.mpg.de Git - paraslash.git/commit
Fix compilation on NetBSD.
authorAndre Noll <maan@systemlinux.org>
Mon, 3 Dec 2007 16:25:30 +0000 (17:25 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 3 Dec 2007 16:25:30 +0000 (17:25 +0100)
commite5c63af4f631e706c8c8793f5db862c80948925c
tree327aca67d3dca8339554835da00b96cc5a98a100
parentb9ff47c00a184f572037a05f40d9ea62222f514c
Fix compilation on NetBSD.

At least on NetBSD-3.1, AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG
are all undefined. The fix is to #define these to zero if they
are not defined in netdb.h. This means that no hints will be
given in this case which is the best we can do.
net.c