cifs.upcall: include arpa/inet.h
authorJeff Layton <jlayton@redhat.com>
Sun, 7 Feb 2010 16:11:59 +0000 (11:11 -0500)
committerJeff Layton <jlayton@redhat.com>
Sun, 7 Feb 2010 16:11:59 +0000 (11:11 -0500)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
cifs.upcall.c
configure
configure.ac

index 76111bc7dc26ca4e591c1583df62de53fc6a38d4..4619281d74c5a554188cdeee2ffbeaacf1922b4e 100644 (file)
@@ -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"
index e1219871a3f65323647c63a99c1617ff83f33c81..19bfab6de2578656f54455fd506d01093ed6ae8e 100755 (executable)
--- 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
index 1ceba2e8333bd1b3d5facafb0ebba3eb79ba014f..a1cf5323d671f6e0b15f4f2d87f85184adca78c3 100644 (file)
@@ -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