Skip to content
Snippets Groups Projects
Commit 183ce91a authored by Pino Toscano's avatar Pino Toscano Committed by Stuart D. Gathman
Browse files

Include arpa/inet.h on any GNU libc platform (#24)

This header is provided by GNU libc on any platform, so include it
unconditionally if __GLIBC__ is defined.

Fixes #23.
parent d30918ac
Branches
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ $ python setup.py help
* published. Unfortunately I know of no good way to do this
* other than with OS-specific tests.
*/
#if defined(__FreeBSD__) || defined(__linux__) || defined(__sun__)
#if defined(__FreeBSD__) || defined(__linux__) || defined(__sun__) || defined(__GLIBC__)
#define HAVE_IPV6_RFC2553
#include <arpa/inet.h>
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment