portability: use getifaddrs()

instead of exec'ing /usr/sbin/ifconfig|grep|sed|awk
This commit is contained in:
Sergei Golubchik 2014-09-29 19:50:56 +02:00
commit 2156f62d2e
4 changed files with 25 additions and 44 deletions

View file

@ -163,6 +163,7 @@
#cmakedefine HAVE_FSYNC 1
#cmakedefine HAVE_FTIME 1
#cmakedefine HAVE_GETADDRINFO 1
#cmakedefine HAVE_GETIFADDRS 1
#cmakedefine HAVE_GETCWD 1
#cmakedefine HAVE_GETHOSTBYADDR_R 1
#cmakedefine HAVE_GETHRTIME 1