From f8078372ea206faa668906de57e532e251cb7e43 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Sun, 7 Feb 2010 11:11:59 -0500 Subject: cifs.upcall: include arpa/inet.h Signed-off-by: Jeff Layton --- cifs.upcall.c | 1 + configure | 3 ++- configure.ac | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cifs.upcall.c b/cifs.upcall.c index 76111bc..4619281 100644 --- a/cifs.upcall.c +++ b/cifs.upcall.c @@ -36,6 +36,7 @@ create dns_resolver * * /usr/local/sbin/cifs.upcall %k #include #include #include +#include #include "replace.h" diff --git a/configure b/configure index e121987..19bfab6 100755 --- a/configure +++ b/configure @@ -6227,7 +6227,8 @@ esac -for ac_func in alarm atexit endpwent getmntent getpass gettimeofday memset realpath setenv strchr strdup strerror strncasecmp strndup strpbrk strrchr strstr strtol strtoul uname + +for ac_func in alarm atexit endpwent getmntent getpass gettimeofday inet_ntop memset realpath setenv strchr strdup strerror strncasecmp strndup strpbrk strrchr strstr strtol strtoul uname do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 diff --git a/configure.ac b/configure.ac index 1ceba2e..a1cf532 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,6 @@ AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK AC_FUNC_MALLOC AC_FUNC_REALLOC AC_FUNC_STRNLEN -AC_CHECK_FUNCS([alarm atexit endpwent getmntent getpass gettimeofday memset realpath setenv strchr strdup strerror strncasecmp strndup strpbrk strrchr strstr strtol strtoul uname]) +AC_CHECK_FUNCS([alarm atexit endpwent getmntent getpass gettimeofday inet_ntop memset realpath setenv strchr strdup strerror strncasecmp strndup strpbrk strrchr strstr strtol strtoul uname]) AC_OUTPUT -- cgit v1.2.3