From 6e5490810acb68ed42ec4c4dc79e35673aa2b8a5 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Thu, 26 Oct 2017 13:44:56 +0200
Subject: applying patch enet-1.3.0.patch


diff --git a/configure.ac b/configure.ac
index da21b7c..eed6745 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,6 +16,8 @@ AC_CHECK_FUNC(inet_ntop, [AC_DEFINE(HAS_INET_NTOP)])
 
 AC_CHECK_MEMBER(struct msghdr.msg_flags, [AC_DEFINE(HAS_MSGHDR_FLAGS)], , [#include <sys/socket.h>])
 
+AC_CHECK_LIB(network, connect)
+
 AC_CHECK_TYPE(socklen_t, [AC_DEFINE(HAS_SOCKLEN_T)], , 
               #include <sys/types.h>
               #include <sys/socket.h>
-- 
2.14.2

