diff --git a/configure.ac b/configure.ac index 32a162f1..7e473eaf 100644 --- a/configure.ac +++ b/configure.ac @@ -102,7 +102,7 @@ AC_TYPE_GETGROUPS AC_FUNC_UTIME_NULL AC_REPLACE_FUNCS(mkdir putgrent putpwent putspent rename rmdir) AC_REPLACE_FUNCS(sgetgrent sgetpwent sgetspent) -AC_REPLACE_FUNCS(snprintf strcasecmp strdup strerror strstr) +AC_REPLACE_FUNCS(snprintf strcasecmp strdup strstr) AC_CHECK_FUNC(setpgrp) AC_CHECK_FUNC(secure_getenv, [AC_DEFINE(HAS_SECURE_GETENV, diff --git a/lib/defines.h b/lib/defines.h index 74162f47..311bd7c4 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -250,7 +250,6 @@ static inline void memzero(void *ptr, size_t size) #ifdef sun /* hacks for compiling on SunOS */ # ifndef SOLARIS extern char *strdup (); -extern char *strerror (); # endif #endif