diff --git a/configure b/configure index 9196a0c0a1..e516075cb2 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 4100ec23d7..138e607ed6 100644 --- a/ffserver.c +++ b/ffserver.c @@ -37,7 +37,7 @@ #include #include #include -#ifdef HAVE_DLFCN +#ifdef HAVE_DLFCN_H #include #endif diff --git a/libavformat/framehook.c b/libavformat/framehook.c index df1f4b55d7..03bbc95f6d 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 #endif