From: RĂ©mi Denis-Courmont Date: Tue, 23 Aug 2011 15:03:19 +0000 (+0300) Subject: Remove old checks for dlfcn.h and sys/dl.h X-Git-Tag: 1.2.0-pre1~1061 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=fcb8fce6da884cdb684a19ef3d298572906b3619;p=vlc Remove old checks for dlfcn.h and sys/dl.h --- diff --git a/configure.ac b/configure.ac index 54788cd595..0f7ea99148 100644 --- a/configure.ac +++ b/configure.ac @@ -713,7 +713,6 @@ fi # Only test for dlopen() if the others didn't work LIBDL="" if test "${ac_cv_have_plugins}" = "no" -o "${SYS}" = "darwin"; then - AC_CHECK_HEADERS(dlfcn.h sys/dl.h) ac_cv_my_have_dlopen=no AC_CHECK_FUNC(dlopen, [ ac_cv_my_have_dlopen=yes diff --git a/modules/codec/realvideo.c b/modules/codec/realvideo.c index 3e43f56c97..98a6a9a870 100644 --- a/modules/codec/realvideo.c +++ b/modules/codec/realvideo.c @@ -45,13 +45,8 @@ int WINAPI FreeLibrary( void *handle ); # define WINAPI #endif -#if defined(HAVE_DL_DLOPEN) -# if defined(HAVE_DLFCN_H) /* Linux, BSD, Hurd */ -# include -# endif -# if defined(HAVE_SYS_DL_H) -# include -# endif +#ifndef WIN32 +# include #endif typedef struct cmsg_data_s