diff --git a/miltermodule.c b/miltermodule.c
index b77bb7ddd24279b3bc35dd3e221e217c35d05453..e3d0927f7bc0b3fe3c3c6b31cb7a85a23606bf95 100644
--- a/miltermodule.c
+++ b/miltermodule.c
@@ -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