diff --git a/vfs/samba/configure.ac b/vfs/samba/configure.ac index 7e3b4bf43..d1cf727d5 100644 --- a/vfs/samba/configure.ac +++ b/vfs/samba/configure.ac @@ -140,7 +140,7 @@ if test x"$ac_cv_func_connect" = x"no"; then fi AC_CHECK_FUNCS(waitpid getcwd strtoul strerror chown chmod) -AC_CHECK_FUNCS(fstat strchr utime utimes getrlimit fsync bzero memset) +AC_CHECK_FUNCS(fstat strchr utime utimes getrlimit fsync memset) AC_CHECK_FUNCS(memmove vsnprintf snprintf setsid glob pipe crypt16 getauthuid) AC_CHECK_FUNCS(sigprocmask sigblock sigaction innetgr setnetgrent getnetgrent endnetgrent) AC_CHECK_FUNCS(initgroups select rdchk getgrnam pathconf) diff --git a/vfs/samba/include/includes.h b/vfs/samba/include/includes.h index 85e326622..8da853dce 100644 --- a/vfs/samba/include/includes.h +++ b/vfs/samba/include/includes.h @@ -616,10 +616,6 @@ time_t mktime(struct tm *t); unsigned long strtoul(const char *nptr, char **endptr, int base); #endif -#if !defined(HAVE_BZERO) && defined(HAVE_MEMSET) -#define bzero(a,b) memset((a),'\0',(b)) -#endif - #ifdef REPLACE_GETPASS #define getpass(prompt) getsmbpass((prompt)) #endif