diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-02-07 11:11:59 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2010-02-07 11:11:59 -0500 |
commit | f8078372ea206faa668906de57e532e251cb7e43 (patch) | |
tree | d5276c1dd851af6a43d96414ad1d7465fb836611 | |
parent | d17c99cf36680d74f1c3d707ec2b563c21b6b786 (diff) | |
download | cifs-utils-f8078372ea206faa668906de57e532e251cb7e43.tar.gz cifs-utils-f8078372ea206faa668906de57e532e251cb7e43.tar.bz2 cifs-utils-f8078372ea206faa668906de57e532e251cb7e43.zip |
cifs.upcall: include arpa/inet.h
Signed-off-by: Jeff Layton <jlayton@redhat.com>
-rw-r--r-- | cifs.upcall.c | 1 | ||||
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | 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 <keyutils.h> #include <time.h> #include <netdb.h> +#include <arpa/inet.h> #include "replace.h" @@ -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 |