diff --git a/include/llvm/Config/dlfcn.h b/include/llvm/Config/dlfcn.h index bf51315ce25..01fbe164710 100644 --- a/include/llvm/Config/dlfcn.h +++ b/include/llvm/Config/dlfcn.h @@ -16,6 +16,10 @@ #include "llvm/Config/config.h" +#ifdef HAVE_LTDL_H +#include +#endif + #ifdef HAVE_DLFCN_H #include #endif