summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cifs.upcall.c1
-rwxr-xr-xconfigure3
-rw-r--r--configure.ac2
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"
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