AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol strtof strtoll strtoull strsep isatty vasprintf asprintf swab sigrelse getpwuid memalign posix_memalign if_nametoindex atoll getenv putenv setenv gmtime_r ctime_r localtime_r lrintf daemon scandir fork bsearch lstat)
dnl Check for usual libc functions
-AC_CHECK_FUNCS(strdup strndup atof lldiv)
+AC_CHECK_FUNCS(strdup strndup atof)
AC_CHECK_FUNCS(strcasecmp,,[AC_CHECK_FUNCS(stricmp)])
AC_CHECK_FUNCS(strncasecmp,,[AC_CHECK_FUNCS(strnicmp)])
AC_CHECK_FUNCS(strcasestr,,[AC_CHECK_FUNCS(stristr)])
# define vlc_strtoll NULL
#endif
-#if !defined(HAVE_LLDIV) || defined(SYS_BEOS)
+#if defined(SYS_BEOS)
typedef struct {
long long quot; /* Quotient. */
long long rem; /* Remainder. */
/*****************************************************************************
* lldiv: returns quotient and remainder
*****************************************************************************/
-#if !defined(HAVE_LLDIV) || defined(SYS_BEOS)
+#if defined(SYS_BEOS)
lldiv_t vlc_lldiv( long long numer, long long denom )
{
lldiv_t d;