$OpenBSD: patch-configure,v 1.2 2012/07/13 16:13:21 espie Exp $
--- configure.orig	Sat Feb 16 22:13:13 2008
+++ configure	Fri Jul 13 18:07:57 2012
@@ -20759,6 +20759,7 @@ _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
+#include <sys/types.h>
 #include <sys/socket.h>
 int
 main ()
@@ -22039,7 +22040,7 @@ fi
 
   if test "$have_gnutls" = yes; then
     GGZTLS_INCLUDES="-I $gnutls_includes"
-    GGZTLS_LDFLAGS="-L $gnutls_libraries"
+    GGZTLS_LDFLAGS="-L$gnutls_libraries"
     LIB_GGZTLS=$gnutls_lib
     { echo "$as_me:$LINENO: result: using GnuTLS" >&5
 echo "${ECHO_T}using GnuTLS" >&6; }
@@ -22296,7 +22297,7 @@ ssl_lib=$LIBSSL
 
   if test "$have_ssl" = yes; then
     GGZTLS_INCLUDES="-I $ssl_includes"
-    GGZTLS_LDFLAGS="-L $ssl_libraries"
+    GGZTLS_LDFLAGS="-L$ssl_libraries"
     LIB_GGZTLS=$ssl_lib
     { echo "$as_me:$LINENO: result: using OpenSSL" >&5
 echo "${ECHO_T}using OpenSSL" >&6; }
