owfs: remove include of rpc/netdb.h
authorArnout Vandecappelle <arnout@mind.be>
Wed, 9 Mar 2016 22:48:25 +0000 (23:48 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 10 Mar 2016 22:51:08 +0000 (23:51 +0100)
commit13aca2f2e94e5dcce406dc1b57f368624ede2656
treecffb6ecb3e90d105dceccff60bcf199111607da9
parente049994086e64ad28aeccb524473752118e1fd8e
owfs: remove include of rpc/netdb.h

owfs carries a copy of netdb.h from an old glibc, which is only used
to implement getaddrinfo on platforms that miss it (Solaris 7 in
particular). Since all of our libc implementations have getaddrinfo,
we don't need it.

To make the patch minimal, just include if !HAVE_GETADDRINFO.

Fixes:
http://autobuild.buildroot.net/results/d9e918c2791cd5523b2fd6478bbd4ce21e58f4f1
http://autobuild.buildroot.net/results/3a85144753e4f18491d62dccf6d5843170f8daea

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/owfs/0002-compat.h-only-include-compat_netdb.h-if-needed.patch [new file with mode: 0644]