$OpenBSD: patch-memcached_c,v 1.4 2008/11/06 13:06:56 sthen Exp $
--- memcached.c.orig	Wed Nov  5 14:36:30 2008
+++ memcached.c	Wed Nov  5 14:39:11 2008
@@ -2474,7 +2474,11 @@ static int server_socket(const int port, const bool is
      * that otherwise mess things up.
      */
     memset(&hints, 0, sizeof (hints));
+#ifdef __OpenBSD__
+    hints.ai_flags = AI_PASSIVE;
+#else
     hints.ai_flags = AI_PASSIVE|AI_ADDRCONFIG;
+#endif
     if (is_udp)
     {
         hints.ai_protocol = IPPROTO_UDP;
