1 From 1cc08f6ceacbb0e5ba1f4638ca3a97ac002d7792 Mon Sep 17 00:00:00 2001
2 From: "Bark, Martin" <martin.bark@te.com>
3 Date: Mon, 14 Dec 2015 13:26:10 +0000
4 Subject: [PATCH 2/2] Fix support for uClibc-ng
6 uClibc-ng is currently at v1.0.9. The patch corrects the uClibc
7 version test so that HAVE_IFADDRS_H is defined for uClibc versions
10 Submitted upstream to libuv and accepted, see
11 https://github.com/libuv/libuv/pull/653 and
12 https://github.com/libuv/libuv/commit/c861972
14 Signed-off-by: Bark, Martin <martin.bark@te.com>
16 deps/uv/src/unix/linux-core.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
19 diff --git a/deps/uv/src/unix/linux-core.c b/deps/uv/src/unix/linux-core.c
20 index e6e6828..6cbbb71 100644
21 --- a/deps/uv/src/unix/linux-core.c
22 +++ b/deps/uv/src/unix/linux-core.c
24 #define HAVE_IFADDRS_H 1
27 -# if __UCLIBC_MAJOR__ < 0 || __UCLIBC_MINOR__ < 9 || __UCLIBC_SUBLEVEL__ < 32
28 +# if __UCLIBC_MAJOR__ < 0 && __UCLIBC_MINOR__ < 9 && __UCLIBC_SUBLEVEL__ < 32
29 # undef HAVE_IFADDRS_H