diff --git a/configure b/configure index 9196a0c0a11d673b91c54cb250ed3bdb2c61a26c..e516075cb2b9a67832b289fc2a4834f93209d962 100755 --- a/configure +++ b/configure @@ -424,7 +424,7 @@ HAVE_LIST=' beosthreads byteswap_h dcbzl - dlfcn + dlfcn_h dlopen freetype2 gprof @@ -578,7 +578,7 @@ extralibs="-lm" bigendian="no" vhook="default" avisynth="no" -dlfcn="no" +dlfcn_h="no" dlopen="no" mpegaudio_hp="yes" SHFLAGS='-shared -Wl,-soname,$@' @@ -1509,7 +1509,7 @@ done # dlopen/dlfcn.h probing -check_header dlfcn.h && dlfcn=yes +check_header dlfcn.h && dlfcn_h=yes temp_extralibs -ldl if check_func dlopen; then diff --git a/ffserver.c b/ffserver.c index 4100ec23d7d0225bc99a10dc3bc54ace441fbf5f..138e607ed685e0cb200c0f29b01f7cad4c651192 100644 --- a/ffserver.c +++ b/ffserver.c @@ -37,7 +37,7 @@ #include <arpa/inet.h> #include <netdb.h> #include <signal.h> -#ifdef HAVE_DLFCN +#ifdef HAVE_DLFCN_H #include <dlfcn.h> #endif diff --git a/libavformat/framehook.c b/libavformat/framehook.c index df1f4b55d7189a5ea02b83cdbc770b04a41a3d88..03bbc95f6d71afeef6fa8072306114eb6cb5cb7e 100644 --- a/libavformat/framehook.c +++ b/libavformat/framehook.c @@ -23,7 +23,7 @@ #include "avformat.h" #include "framehook.h" -#ifdef HAVE_DLFCN +#ifdef HAVE_DLFCN_H #include <dlfcn.h> #endif