From: Lucian Petrut Date: Mon, 7 Mar 2022 08:12:23 +0000 (+0000) Subject: include: Define dlfcn.h on Windows X-Git-Tag: v17.2.0~44^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=87be3b21747eafe6c4969075e082d8b5956ee112;p=ceph.git include: Define dlfcn.h on Windows "dlfcn.h" is not available on Windows, so Ceph provides a drop-in replacement through "dlfcn_compat.h". The issue is that directly importing "dlfcn.h" fails at the moment, for which reason we'll simply add a file called "dlfcn.h" that includes "dlfcn_compat.h". Signed-off-by: Lucian Petrut (cherry picked from commit 8b7432b9e914c47bbce74bf999e4c7aef57561e2) --- diff --git a/src/include/win32/dlfcn.h b/src/include/win32/dlfcn.h new file mode 100644 index 000000000000..32e51f16f9a2 --- /dev/null +++ b/src/include/win32/dlfcn.h @@ -0,0 +1 @@ +#include "../dlfcn_compat.h"