$OpenBSD: patch-cmd_lefty_os_unix_io_c,v 1.1 2014/02/06 17:32:27 edd Exp $

We have no AI_ADDRCONFIG.

--- cmd/lefty/os/unix/io.c.orig2	Sun Feb  2 17:56:51 2014
+++ cmd/lefty/os/unix/io.c	Sun Feb  2 17:58:03 2014
@@ -13,6 +13,11 @@
 
 /* Lefteris Koutsofios - AT&T Labs Research */
 
+/* The BSDs do not support the addrinfo AI_ADDRCONFIG flag */
+#if defined(__OpenBSD__)
+#define AI_ADDRCONFIG	0
+#endif
+
 #include "common.h"
 #include "io.h"
 #ifdef FEATURE_CS
