From c34843e419df91f5aef52632df473bdbafe3a684 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Fri, 13 Jun 2014 17:19:49 +0000
Subject: haiku patch


diff --git a/configure.ac b/configure.ac
index 563fb04..334a051 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,7 @@ dnl Our configure and build reentrant settings
 CURL_CONFIGURE_REENTRANT
 
 # Some systems (Solaris?) have socket() in -lsocket.
-AC_SEARCH_LIBS(socket, socket)
+AC_SEARCH_LIBS(socket,[socket network])
 
 # Solaris has inet_addr() in -lnsl.
 AC_SEARCH_LIBS(inet_addr, nsl)
-- 
1.8.3.4

