From 40a49cd76f7ddfe41020b42e579461f89ba6b780 Mon Sep 17 00:00:00 2001 From: TLINDEN Date: Tue, 29 Oct 2013 22:54:07 +0100 Subject: [PATCH] forgot the check for the net includes --- configure.ac | 3 ++- libpcp/config.h.in | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3ddbf3c..5064dc2 100755 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,8 @@ AC_CANONICAL_HOST # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(errno.h err.h stdlib.h string.h unistd.h stdio.h getopt.h\ - limits.h stddef.h stdint.h sys/types.h sys/stat.h endian.h sys/endian.h termios.h) + limits.h stddef.h stdint.h sys/types.h sys/stat.h endian.h \ + sys/endian.h termios.h arpa/inet.h netinet/in.h) AC_TYPE_SIZE_T diff --git a/libpcp/config.h.in b/libpcp/config.h.in index 5696818..245e50f 100644 --- a/libpcp/config.h.in +++ b/libpcp/config.h.in @@ -3,6 +3,9 @@ /* Define to 1 if you have the `arc4random_buf' function. */ #undef HAVE_ARC4RANDOM_BUF +/* Define to 1 if you have the header file. */ +#undef HAVE_ARPA_INET_H + /* Define to 1 if you have the `be32toh' function. */ #undef HAVE_BE32TOH @@ -72,6 +75,9 @@ /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET +/* Define to 1 if you have the header file. */ +#undef HAVE_NETINET_IN_H + /* Define to 1 if you have the `perror' function. */ #undef HAVE_PERROR