etc-gentoo/portage/patches/media-video/ffmpeg-2.2.10/0001-Fix-socklen_t-detectio...

27 lines
785 B
Diff

From 61d38cb55383a3d37ada1102612daeffdbbbec20 Mon Sep 17 00:00:00 2001
From: hasufell <hasufell@gentoo.org>
Date: Wed, 5 Nov 2014 16:53:50 +0100
Subject: [PATCH] Fix socklen_t detection
It may also be defined in unistd.h.
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index e6122e7..5300b3b 100755
--- a/configure
+++ b/configure
@@ -4296,7 +4296,7 @@ elif check_func dlopen -ldl; then
fi
if ! disabled network; then
- check_type "sys/types.h sys/socket.h" socklen_t
+ check_type "sys/types.h sys/socket.h unistd.h" socklen_t
check_type netdb.h "struct addrinfo"
check_type netinet/in.h "struct group_source_req" -D_BSD_SOURCE
check_type netinet/in.h "struct ip_mreq_source" -D_BSD_SOURCE
--
2.1.3