$OpenBSD: patch-src_gvnc_c,v 1.2 2008/12/11 12:36:31 jasper Exp $ --- src/gvnc.c.orig Sun Dec 7 20:35:14 2008 +++ src/gvnc.c Wed Dec 10 23:19:36 2008 @@ -188,6 +188,10 @@ struct gvnc #define nibhi(a) (((a) >> 4) & 0x0F) #define niblo(a) ((a) & 0x0F) +#if defined(__OpenBSD__) +#define AI_ADDRCONFIG 0 +#endif + /* Main loop helper functions */ static gboolean g_io_wait_helper(GIOChannel *channel G_GNUC_UNUSED, GIOCondition cond,