introduce getifaddrs for toolchains without it 84/2884/1
authorDavid <cymerio@gmail.com>
Sat, 12 Jan 2013 12:39:47 +0000 (20:39 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:24 +0000 (13:01 -0800)
commit5f333eea7adcbd83bea0e14e2cc2871b2a2f3998
treecdf6328cb7d6e6766d27ed110f78cb0af3484d39
parent68d2bf269aa105f4315edb1e897b82e9bf4b9b9f
introduce getifaddrs for toolchains without it

David found that uclibc did not provide this slightly esoteric api
and provided one from BSD that can be built by the library internally.

AG: Made contingent on configure option --enable-builtin-getifaddrs

Signed-off-by: David <cymerio@gmail.com>
Signed-off-by: Andy Green <andy.green@linaro.org>
README-test-server
configure.ac
lib/Makefile.am
lib/getifaddrs.c [new file with mode: 0644]
lib/getifaddrs.h [new file with mode: 0644]
lib/libwebsockets.c