pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/41930?usp=email )
Change subject: configure.ac: Add arpa/inet.h to AC_CHECK_HEADERS ......................................................................
configure.ac: Add arpa/inet.h to AC_CHECK_HEADERS
We use arpa/inet.h in several places in the code, so it's good to look up for presence even if it's only to debug toolchain compatibility.
Change-Id: Ib2d1fb3efb1dcb429b511698691249c257e00720 --- M configure.ac 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: osmith: Looks good to me, approved pespin: Verified fixeria: Looks good to me, but someone else must approve
diff --git a/configure.ac b/configure.ac index 5d1bdec..7cb8727 100644 --- a/configure.ac +++ b/configure.ac @@ -74,7 +74,7 @@
dnl checks for header files AC_HEADER_STDC -AC_CHECK_HEADERS(execinfo.h poll.h sys/select.h sys/socket.h sys/signalfd.h sys/eventfd.h sys/timerfd.h ctype.h netinet/tcp.h netinet/in.h) +AC_CHECK_HEADERS(arpa/inet.h execinfo.h poll.h sys/select.h sys/socket.h sys/signalfd.h sys/eventfd.h sys/timerfd.h ctype.h netinet/tcp.h netinet/in.h) AC_CHECK_DECL(HAVE_SYS_SOCKET_H, AC_SUBST(HAVE_SYS_SOCKET_H, 1), AC_SUBST(HAVE_SYS_SOCKET_H, 0)) # for src/conv.c AC_FUNC_ALLOCA