mongodb/mongo-c-driver — pull request #17 by robzuber (2011-12-10 22:14:27+00:00)
Title: getaddrinfo fixes

Fix a couple minor issues to allow use of `getaddrinfo` (and therefore hostnames instead of IPs) on linux.

Wasn't sure if defaulting to `_POSIX_SOURCE` when using linux was appropriate or if there was a different expectation for incorporating the `getaddrinfo` code. So I put it in a separate commit that you can ignore.